WP Revisions Control

外掛說明

WordPress 3.6 allows users to control how many revisions are stored for each supported post type. No longer must you rely on the WP_POST_REVISIONS constant, which applied universally. This plugin provides an interface for this new functionality.

With this plugin enabled, simply visit Settings > Writing to specify the number of revisions retained for each post type.

Why is this helpful? Revisions are stored in the database, and if many are stored, can cause bloat. This bloat may lead to slower queries, which can have a noticeable performance impact. The value of these revisions also depends on what is being tracked. For example, I may want to store every revision of the posts I write, but only desire to keep the latest five versions of each page on my site. Starting in WordPress 3.6, this control is available. WordPress doesn’t provide a native interface to specify revisions quantities, so I wrote this quick plugin to do so.

Thanks to Maria Ramos at WebHostingHub, the plugin is also available in Spanish. Many thanks to her for her efforts!

Development is at https://git.ethitter.com/wp-plugins/wp-revisions-control.

螢幕擷圖

  • The plugin's settings section, found under Settings > Writing.
  • The post-level controls provided in version 1.2.

安裝方式

  1. Upload wp-revisions-control to /wp-content/plugins/.
  2. Activate plugin through the WordPress Plugins menu.
  3. Go to Settings > Writing and set the options under WP Revisions Control.

常見問題集

Where do I change the plugin’s settings?

Navigate to Settings > Writing in your WordPress Dashboard, and look for the WP Revisions Control section.

使用者評論

2019 年 6 月 1 日
Всё работает, только польза.
2018 年 10 月 8 日
Just what I was looking for.
2016 年 9 月 3 日
Allows for setting the number of revisions per post type (which has revisions enabled) 😀
閱讀全部 7 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Revisions Control〉的開發相關工作。

參與者

將 WP Revisions Control 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3

  • Add bulk actions to purge excess or all revisions.
  • Introduce unit tests.
  • Conform to coding standards.

1.2.1

  • Introduce Spanish translation thanks to Maria Ramos at WebHostingHub.

1.2

  • Add post-level revision purging and limiting. For any post type that supports revisions, you can now limit the number of revisions retained at a post level.

1.0

  • Initial public release