Code Monkey home page Code Monkey logo

Comments (5)

lesterchan avatar lesterchan commented on July 28, 2024

Let's discuss it over here. It works fine on my host but I only tested on one site since I don't have access to more big sites.

It takes a long time for huge sites because it does a sub query. If you click Sweep a couple of times, does it process the remaining one or it is stuck at 8003 orphaned term relationship?

Can you run this query and tell me the output?

SELECT tr.object_id, tr.term_taxonomy_id, tt.taxonomy FROM wp_term_relationships AS tr INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy != 'link_category' AND tr.object_id NOT IN (SELECT ID FROM wp_posts) LIMIT 100;

from wp-sweep.

slaFFik avatar slaFFik commented on July 28, 2024

It sticks to that number.
Here is the output: http://pastebin.com/MNPdS6i3

from wp-sweep.

lesterchan avatar lesterchan commented on July 28, 2024

Cool, thanks. I can reproduce it with the data. I will fix it tomorrow and update here again.

from wp-sweep.

lesterchan avatar lesterchan commented on July 28, 2024

@slaFFik fixed, can you try download the zip file https://github.com/lesterchan/wp-sweep/archive/master.zip and replace wp-sweep.php to the plugin folder to see if it works now before I release 1.0.2 to the public?

from wp-sweep.

slaFFik avatar slaFFik commented on July 28, 2024

Tested. Works fine.

from wp-sweep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.