readme.txt 2.84 KB
Newer Older
Erick Hitter's avatar
Erick Hitter committed
1 2
=== WP Revisions Control ===
Contributors: ethitter
Erick Hitter's avatar
Erick Hitter committed
3
Donate link: https://ethitter.com/donate/
4
Tags: revision, revisions, admin
Erick Hitter's avatar
Erick Hitter committed
5
Requires at least: 3.6
Erick Hitter's avatar
Erick Hitter committed
6
Tested up to: 5.2
Erick Hitter's avatar
Erick Hitter committed
7
Stable tag: 1.3
Erick Hitter's avatar
Erick Hitter committed
8 9 10 11 12 13 14
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Control how many revisions are stored for each post type.

== Description ==

15 16 17 18 19
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.
Erick Hitter's avatar
Erick Hitter committed
20

21 22
Thanks to Maria Ramos at [WebHostingHub](http://www.webhostinghub.com/), the plugin is also available in Spanish. Many thanks to her for her efforts!

Erick Hitter's avatar
Erick Hitter committed
23 24 25 26 27 28
**Development is over on GitHub: https://github.com/ethitter/WP-Revisions-Control.**

== Installation ==

1. Upload wp-revisions-control to /wp-content/plugins/.
2. Activate plugin through the WordPress Plugins menu.
Erick Hitter's avatar
Erick Hitter committed
29
3. Go to **Settings > Writing** and set the options under **WP Revisions Control**.
Erick Hitter's avatar
Erick Hitter committed
30 31 32

== Frequently Asked Questions ==

33
= Where do I change the plugin's settings? =
Erick Hitter's avatar
Erick Hitter committed
34
Navigate to **Settings > Writing** in your WordPress Dashboard, and look for the **WP Revisions Control** section.
Erick Hitter's avatar
Erick Hitter committed
35 36 37

== Changelog ==

Erick Hitter's avatar
Erick Hitter committed
38
= 1.3 =
39
* Add bulk actions to purge excess or all revisions.
Erick Hitter's avatar
Erick Hitter committed
40 41 42
* Introduce unit tests.
* Conform to coding standards.

43 44 45
= 1.2.1 =
* Introduce Spanish translation thanks to Maria Ramos at [WebHostingHub](http://www.webhostinghub.com/).

Erick Hitter's avatar
Erick Hitter committed
46
= 1.2 =
47
* 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.
Erick Hitter's avatar
Erick Hitter committed
48

Erick Hitter's avatar
Erick Hitter committed
49
= 1.0 =
50
* Initial public release
51

Erick Hitter's avatar
Erick Hitter committed
52 53
== Upgrade Notice ==

54 55 56
= 1.3 =
Introduces bulk actions for purging revisions, along with unit tests. The plugin also conforms to coding standards.

57 58 59
= 1.2.1 =
Introduces Spanish translation thanks to Maria Ramos at [WebHostingHub](http://www.webhostinghub.com/).

Erick Hitter's avatar
Erick Hitter committed
60 61 62
= 1.2 =
For any post type that supports revisions, you can now limit the number of revisions retained at a post level.

63 64
== Screenshots ==

Erick Hitter's avatar
Erick Hitter committed
65
1. The plugin's settings section, found under **Settings > Writing**.
Erick Hitter's avatar
Erick Hitter committed
66
2. The post-level controls provided in version 1.2.