Title: Time-based Revision Cleanup
Author: Michael Sablone
Published: <strong>16. April 2024.</strong>
Last modified: 15. Februar 2026.

---

Search plugins

![](https://ps.w.org/time-based-revisions/assets/banner-772x250.png?rev=3071398)

![](https://ps.w.org/time-based-revisions/assets/icon-256x256.png?rev=3071398)

# Time-based Revision Cleanup

 By [Michael Sablone](https://profiles.wordpress.org/michaelsablone/)

[Download](https://downloads.wordpress.org/plugin/time-based-revisions.1.1.4.zip)

[Live Preview](https://me.wordpress.org/plugins/time-based-revisions/?preview=1)

 * [Details](https://me.wordpress.org/plugins/time-based-revisions/#description)
 * [Reviews](https://me.wordpress.org/plugins/time-based-revisions/#reviews)
 * [Development](https://me.wordpress.org/plugins/time-based-revisions/#developers)

 [Support](https://wordpress.org/support/plugin/time-based-revisions/)

## Description

Optimize your website’s performance and streamline your editing workflow with the
Time-based Revision Cleanup plugin for WordPress. Our plugin offers a sophisticated
solution to the limitations of the default number-based revision system, which can
quickly become inadequate for active sites. Instead of restricting revisions to 
a set count, our plugin allows you to specify a timeframe for keeping revisions,
such as 30, 60, or 365 days, ensuring that your database retains only what’s necessary
without losing the essential edit history of your posts.

In addition, our plugin enhances the admin dashboard with an analytics feature to
generate visual representations of revision history data.

### Key Features:

 * **Intelligent Age-Based Management**: Preserve your site’s history by automatically
   deleting revisions past a certain age, keeping only the recent and relevant changes.
 * **Seamless On-Save Cleanup**: The plugin intuitively removes outdated revisions
   upon saving posts, based on the age criteria you’ve set, without disrupting the
   creative process.
 * **Optional Automated Cleanup**: Enable the optional CRON job to perform regular,
   site-wide revision cleanups at intervals you control, maintaining optimal database
   health with no manual effort.
 * **Dashboard Analytics**: Visualize your site’s revision cleanup activity with
   an integrated chart, powered by Google’s Chart API.
 * **Fully Customizable**: Configure the plugin’s settings to fit the unique demands
   of your site, including save timeout, CRON frequency, and the maximum number 
   of revisions to process.

By focusing on time rather than revision count, our plugin addresses the core flaw
in the default system, ensuring that a busy day of editing won’t result in the loss
of important historical data. With the optional CRON job for hands-free maintenance,
adjustable settings for precision control, and insightful analytics, the Time-based
Revision Cleanup plugin is an essential tool for maintaining a healthy, efficient
WordPress site.

## Screenshots

 * [[
 * The Stats tab showing you 24 hours / 30 days / 60 days / YTD statistics for the
   cleanup.
 * [[
 * The Settings tab showing all general settings for the plugin.
 * [[
 * The CRON setting tab for running the cleanup on schedule.

## Reviews

![](https://secure.gravatar.com/avatar/9373958895fcac485d0073fe1f95ca37272ecf52a57d8d624a820c3b9f5a6a6b?
s=60&d=retro&r=g)

### 󠀁[Saved Me Hours!](https://wordpress.org/support/topic/saved-me-hours-18/)󠁿

 [lobozebra](https://profiles.wordpress.org/lobozebra/) 20. Maj 2024.

I installed this plugin on a few of my sites that had issues with the dashboard 
running slow due to the large amount of revisions that my clients were creating.
This really cleaned up the database and sped up the dashboard for users significantly!

![](https://secure.gravatar.com/avatar/9ea1c2f7dc71fa1220c2f413f3e6474a543105c257f984e54dd0dc3cd545d6d0?
s=60&d=retro&r=g)

### 󠀁[Well-designed with the user in mind](https://wordpress.org/support/topic/well-designed-with-the-user-in-mind/)󠁿

 [codeadapted](https://profiles.wordpress.org/codeadapted/) 3. Maj 2024.

I installed the Time-Based Revision Cleanup plugin on my site and and it really 
is a nifty plugin. You can tell the developer knows what he’s doing. Really love
the chart visualization and the fact that it does the work of keeping my db clean
and up-to-date. Thanks for the cool plugin!

![](https://secure.gravatar.com/avatar/01d8e0acac91e5e7ac30fa5f0c8920babdb83dfbd21774e03b85d52c2a804f46?
s=60&d=retro&r=g)

### 󠀁[Really Helpful](https://wordpress.org/support/topic/really-helpful-208/)󠁿

 [davgyxyz](https://profiles.wordpress.org/davgyxyz/) 24. April 2024.

I’ve started using the Time-Based Revisions plugin on my site, and it’s been really
helpful. It automatically removes older post revisions, so my database stays organized
without any extra effort from me.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/time-based-revisions/reviews/)

## Contributors & Developers

“Time-based Revision Cleanup” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Michael Sablone ](https://profiles.wordpress.org/michaelsablone/)

[Translate “Time-based Revision Cleanup” into your language.](https://translate.wordpress.org/projects/wp-plugins/time-based-revisions)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/time-based-revisions/),
check out the [SVN repository](https://plugins.svn.wordpress.org/time-based-revisions/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/time-based-revisions/)
by [RSS](https://plugins.trac.wordpress.org/log/time-based-revisions/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.4

Bump version number.

#### 1.1.3

Bump version number.

#### 1.1.1

Fix wrong CRTBR prefix on variables.

#### 1.1.0

Change graphing to Apex charts to remove third party functionality.
 Added support
for WordPress 6.8.

#### 1.0.11

Add static logging.

#### 1.0.10

Update readme to add info about google charts.

#### 1.0.8

Code cleanup.

#### 1.0.0

Initial release.

## Meta

 *  Version **1.1.4**
 *  Last updated **2 months ago**
 *  Active installations **100+**
 *  WordPress version ** 4.9 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/time-based-revisions/)
 * Tags
 * [cleanup](https://me.wordpress.org/plugins/tags/cleanup/)[history](https://me.wordpress.org/plugins/tags/history/)
   [Optimize](https://me.wordpress.org/plugins/tags/optimize/)[performance](https://me.wordpress.org/plugins/tags/performance/)
   [revisions](https://me.wordpress.org/plugins/tags/revisions/)
 *  [Advanced View](https://me.wordpress.org/plugins/time-based-revisions/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/time-based-revisions/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/time-based-revisions/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/time-based-revisions/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/time-based-revisions/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/time-based-revisions/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/time-based-revisions/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/time-based-revisions/reviews/)

## Contributors

 *   [ Michael Sablone ](https://profiles.wordpress.org/michaelsablone/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/time-based-revisions/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/donate/?hosted_button_id=EUHE8NXYEXJJ6)