
Revision overview and delete actions
WordPress saves a full copy of a post every time you update it. Over months or years of editing, these copies — revisions — pile up quietly in the wp_posts table. You never see them in the post list, but they still take up database rows, slow down backups, and add weight to every migration.
Takahiro Revision Cleanup shows you exactly how many revisions exist, lets you preview what will be removed before you commit, and deletes them safely through WordPress’s own APIs. It’s a modern, actively maintained replacement for older tools such as Better Delete Revision, which was removed from the WordPress.org directory in 2022 for security issues.
The dashboard shows the total revision count, an estimated storage size, and a lifetime counter of everything you’ve removed so far. A paginated preview list lets you check exactly which revisions belong to which posts before running a deletion. Nothing is hidden, and published content never appears in the list.
Some sites only want to clean up old blog posts and leave pages untouched. Others need to target a specific custom post type. This plugin breaks revisions down by post type, including orphaned revisions whose parent post no longer exists, and lets you delete each group independently or clear everything in one pass.
Deleting tens of thousands of revisions in a single PHP request is how most cleanup tools time out. Version 1.3.0 adds one-click continuous deletion: press the button once, and the plugin works through revisions in batches of 200 via AJAX, with a live progress bar so you can watch it happen. If JavaScript is unavailable, it falls back to standard form submissions automatically.
After a large deletion, wp_posts and wp_postmeta can be left with unused space. The plugin runs CHECK TABLE and OPTIMIZE TABLE on just those two tables, not a blanket optimization of your entire database.
Deletion goes through WordPress’s native wp_delete_post_revision() function, so associated post meta and term relationships are cleaned up the way WordPress expects, rather than through a raw SQL DELETE that can leave orphaned data behind. A compatibility fix is also included for a known NextGEN Gallery issue during batch deletes.
Revision cleanup is a destructive, irreversible database operation, so this was built with that in mind from the start:
manage_options by default, filterable via tnrc_required_capability)wp_posts and wp_postmeta onlytnrc_security_event) for logging or monitoring integrationsThis plugin focuses on one job: reviewing and deleting revisions safely. It doesn’t include page caching, image optimization, or general cleanup of transients, spam comments, or orphaned options. If you want a single plugin that handles everything, a broader optimization suite may suit you better. If you want to see what’s in your revisions before removing them, and trust that the removal won’t touch anything else, that’s what this plugin is for.