PluginProbe
WP

WP-Sweep

v2.0.1

by Lester Chan

WP-Sweep finds the rows WordPress leaves behind and removes them. Revisions of posts you edited years ago, meta belonging to a post that was deleted, terms attached to nothing, term relationships pointing at posts that no longer exist, expi...

100K+ active installs 4.7 (138 ratings) Requires PHP 8.2+ Requires WP 6.8+ Tested up to WP 7.1 Updated 2 months ago
Browse code Releases

About this plugin

WP-Sweep finds the rows WordPress leaves behind and removes them. Revisions of posts you edited years ago, meta belonging to a post that was deleted, terms attached to nothing, term relationships pointing at posts that no longer exist, expired transients: none of it is visible anywhere in wp-admin, and all of it is in your database. It uses the proper WordPress delete functions wherever they can reach the row, rather than running raw delete queries, so the hooks other plugins rely on still fire. Only the rows the API refuses to touch — orphaned meta whose object ID is 0 — are deleted directly....

Read the full description on WordPress.org →

Read the source

v2.0.1

Browse every file in this release with syntax highlighting and a file tree, or link straight to a line. Older releases and trunk are available from the version switcher.