manifest / performance / wp-revision-manager
Revision Manager
WordPress revision limits per post type, weekly prune, and one-click old-revision cleanup
★ 0stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/azanumer/wp-revision-manager/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress revisions bloat wp_posts fast. This plugin keeps them under control without editing wp-config.php:
- Per-post-type limits — e.g. keep 10 revisions for posts, 25 for pages (0 = WordPress default).
- Enforced at save time — when a new revision is created, older ones beyond the limit are deleted.
- Weekly prune — a WP-Cron job prunes every post to its limit once a week (toggleable).
- One-click cleanup — Tools → Revision Manager shows the total revision count and prunes old revisions immediately, with a confirm dialog.
Autosaves are never deleted. Filter wrm_revision_limit to override a type's limit in code.
License
MIT