该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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订阅开发日志