• Resolved zimbo000

    (@zimbo000)


    I use the Meta Slider plugin.

    A couple of weeks ago after installing WP-Sweep, it reported there were 100s of Unused Terms which was a % Of of over 80%. So clearly a candidate for cleaning.

    The note in the Term Sweep section for Unused Terms says: “Note that some unused terms might belong to draft posts that have not been published yet. Only sweep this when you do not have any draft posts.”

    There is no mention that a plugin could be affected by doing a Term Sweep.

    I did not know this at the time but Meta Slider stores various items such as the slider IDs and associated links in the wp_terms, wp_term_relationships and wp_term_taxonomy tables.

    These Meta Slider items are the terms that WP-Sweep reported as “Unused” and which could be deleted. Yet they were clearly not “Unused” – they were vital in allowing the sliders to work.

    After doing a sweep, WP-Sweep has effectively deleted over 700 sliders on the website. Whilst some data for the sliders is intact, such as in wp_posts and wp_postmeta, without any of the wp_term… data, the sliders no longer display.

    To say that I am upset at the damage your plugin has caused would be an understatement. I am now faced with having to recreate over 700 sliders.

    It is wholly irresponsible to offer a plugin that caused such catastrophic harm to the website given the completely inadequate and incorrect warning that only posts might be affected by a Term Sweep.

    PS. The sweep was carried out 2 weeks ago and there was a backup from the day before the sweep. The site however is a very busy news website that adds many new posts a day and the editor did not have cause to look at some old posts until a couple of days ago when it was then noticed that the sliders had disappeared. By this time the rolling cycle of daily database backups had overwritten the last database from before the sweep which contained the Meta Slider terms.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lester Chan

    (@gamerz)

    I am sorry for that. There are tons of WP plugins, it is impossible to make it compatible and test for every single plugin as they are all designed differently. This is the first time I heard of Meta Slider.

    That is why at the top, I always recommend to backup your database first before running sweep.

    I am guessing this is just one of many incompatible plugins.

    I am trying to find ways to mitigate this through warnings. Any suggestions are welcome.

    I don’t use many of the plugins out there, so better still, fork the plugin, https://github.com/lesterchan/wp-sweep and contribute to it to make it better.

    I added an incompatible plugin list to the README and created a sticky at the top https://ww.wp.xz.cn/support/topic/plugins-not-compatible-with-wp-sweep/

    • This reply was modified 9 years, 1 month ago by Lester Chan.
    • This reply was modified 9 years, 1 month ago by Lester Chan.
    • This reply was modified 9 years, 1 month ago by Lester Chan.
    Thread Starter zimbo000

    (@zimbo000)

    As per my comment, I think you need to alter the warning by the Unused Terms to make it extremely clear that plugins (and maybe themes?) may be affected, not just posts, as you can’t know how any given plugin works. I’m not a WP expert and assumed by that message that only posts would be cleaned/altered. Your sticky is a good idea but as you say there are 1000s of plugins.

    Plugin Author Lester Chan

    (@gamerz)

    But the thing is, it may not be just term, it can be post/comment meta as well. And hence the warning has to be very generic.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Valid terms deleted by Term Sweep’ is closed to new replies.