About this plugin
Leafcap Revision Limits lets an administrator set a revision limit for each post type from one screen, with no code.
Go to Settings > Revision Limits. Each post type that has an admin screen and supports revisions gets its own row, with one of these choices:
- Use site default: follow WP_POST_REVISIONS, or anything else already applied on your site.
- Unlimited: keep every revision, even if WP_POST_REVISIONS is a number.
- Store no new revisions: stop new revisions. Existing revisions stay, but can’t be viewed or restored while this is set.
- Keep a set number: keep that many revisions per post.
The screen also shows the site default and how many revisions each post type currently stores. Stored counts cover all posts of that type, including autosaves.
Leafcap Revision Limits never runs its own delete. It tells WordPress how many revisions to keep, and WordPress removes extra revisions in its normal way when a post is changed and saved. There is no bulk purge.
The plugin stores its settings in one option, adds no database tables or scheduled jobs, makes no external requests and does no tracking. It works per site on multisite, with no network screen. It works with both the block editor and the classic editor.