這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Revision Diet

外掛說明

Revision Diet is a plugin to limit the number of post revisions that are saved. It does exactly what you expect – it allows you to set a number of revisions to keep for each post and deletes any revisions beyond that number. This number will not include the autosave revisions.

The options page is extremely simple – enter the number of revisions to keep and save your options. There is also a button to Trim Excess Revisions. This button will trim all the extra revisions from every post in your WordPress installation. (Using it is optional.) As for regular use, each time you save a post the oldest revisions on that post will be deleted from the database down to the limit that is currently set.

螢幕擷圖

  • This is the options page for Revision Diet

安裝方式

To install it simply unzip the file linked above and save it in your plugins directory under wp-content. In the plugin manager activate the plugin. Settings for the plugin may be altered under the Revision Diet page of the Options menu (version 2.3) or Settings menu (version 2.5 or later).

常見問題集

What does the “Trim Excess Revisions” button do?

This button automatically trims extra revisions over the limit you have currently set form every post in your database. If you never push that button any posts that you are not editing will not have their extra revisions removed.

Does this work for page revisions?

Yes, it does manage the revisions for pages – however the “Trim Excess Revisions” button only trims posts.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈Revision Diet〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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