Devenia Revision Retention
Keep useful WordPress revision history without letting old revisions grow forever.
What it does
WordPress revisions are useful when you need to restore earlier content, but the revision table can keep growing on active sites. Devenia Revision Retention keeps the newest revisions and selected older reference points, then removes revisions outside that policy.
- Keeps the latest revisions per post or page.
- Keeps older anchor revisions near configured age points.
- Includes a dry-run before cleanup.
- Runs on a configurable schedule.
Default policy
By default, the plugin keeps the latest 10 revisions for each supported post or page, plus one older revision near 1, 2, 3, 4, and 10 weeks back.
The goal is a practical rollback window: recent edits stay available, while older checkpoints remain for context.
When it helps
- Sites with frequent content edits.
- Editorial sites that still need older rollback points.
- WordPress installs where revision volume should stay predictable.
- Maintenance workflows that need a clear dry-run before cleanup.
Use it safely
Open Tools > Revision Retention, review the keep policy, and run a dry-run first. The manual cleanup action requires confirmation before revisions are removed.
Requirements
- WordPress 6.9 or newer.
- PHP 7.2 or newer.
- A WordPress site that uses native revisions.
Current release
Version 0.1.5 hardens the internal retention policy so dry-run and cleanup use the same explicit keep/delete decision.