• Plugin Author Lester Chan

    (@gamerz)


    WP-Sweep 2.0.0 is a total rewrite of the plugin with Claude Code to make it more modern and testable. There will be breaking changes. Please do test it https://github.com/lesterchan/wp-sweep/archive/refs/heads/master.zip

    WP-Sweep 2.0.0 requires WordPress 6.8 and PHP 8.2. A site on an older stack is simply not offered the update, so if WP-Sweep has stopped appearing in your updates list, that is why.

    The screen’s address changed, though it is still at Tools -> WP-Sweep: tools.php?page=wp-sweep/admin.php is now tools.php?page=wp-sweep. The old form embedded the plugin’s folder name, which broke the screen for anyone who installed WP-Sweep under a different one.

    Sweep All is gone. Every row has a checkbox; tick the one in the header and apply the Sweep bulk action for the same effect, with the option of leaving rows out.

    Scripted callers need editing. The WP-CLI command is wp wp-sweep, not wp sweep, and the REST routes are under /wp-json/wp-sweep/v1/, not /wp-json/sweep/v1/. The old spellings fail rather than falling back. WPSweep::get_instance() is now WP_Sweep::get_instance(), and the $sweep->limit_details property is now the $sweep->limit_details() method. Filter and action names are unchanged.

    Two sweeps remove less than they did, deliberately. Meta keys protected by the whitelist filters are honoured by the duplicated meta sweeps as well as the orphaned ones, which is what the documentation always said. Matching also moved out of SQL, so an underscore in a protected key is matched literally rather than as a wildcard: _my_key protects that key and nothing else. Review your list if you relied on the old behaviour.

    The page I need help with: [log in to see the link]

You must be logged in to reply to this topic.