Title: Time-based Revision Cleanup
Author: Michael Sablone
Published: <strong>2024 年 4 月 16 日</strong>
Last modified: 2026 年 2 月 15 日

---

搜索插件

![](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

 作者：[Michael Sablone](https://profiles.wordpress.org/michaelsablone/)

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

[实时预览](https://cn.wordpress.org/plugins/time-based-revisions/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/time-based-revisions/#description)
 * [评价](https://cn.wordpress.org/plugins/time-based-revisions/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/time-based-revisions/#developers)

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

## 描述

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.

## 屏幕截图

 * [[
 * 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.

## 评价

![](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/) 2024 年 5 月 20 日

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/) 2024 年 5 月 3 日

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/) 2024 年 4 月 24 日

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.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/time-based-revisions/reviews/)

## 贡献者及开发者

「Time-based Revision Cleanup」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Time-based Revision Cleanup」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/time-based-revisions)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/time-based-revisions/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/time-based-revisions/)，或通过[RSS](https://plugins.trac.wordpress.org/log/time-based-revisions/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/time-based-revisions/)。

## 更新日志

#### 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.

## 额外信息

 *  版本 **1.1.4**
 *  最后更新：**3 月前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.9 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/time-based-revisions/)
 * 标签
 * [cleanup](https://cn.wordpress.org/plugins/tags/cleanup/)[history](https://cn.wordpress.org/plugins/tags/history/)
   [Optimize](https://cn.wordpress.org/plugins/tags/optimize/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [revisions](https://cn.wordpress.org/plugins/tags/revisions/)
 *  [高级视图](https://cn.wordpress.org/plugins/time-based-revisions/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

[查看全部评论](https://wordpress.org/support/plugin/time-based-revisions/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/time-based-revisions/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/donate/?hosted_button_id=EUHE8NXYEXJJ6)