开发者 | ethitter |
---|---|
更新时间 | 2022年7月1日 09:58 |
捐献地址: | 去捐款 |
PHP版本: | 3.6 及以上 |
WordPress版本: | 6.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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.
Navigate to Settings > Writing in your WordPress Dashboard, and look for the WP Revisions Control section.
wp-revisions-control
, conforming to WordPress standards.