WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Simple Revisions Delete

Simple Revisions Delete adds a discreet link within a post submit box to let you purge (delete) its revisions via AJAX. Bulk actions also available.

What does it do?

It helps you keep a clean database by removing unnecessary posts revisions. Unlike other similar plugins, it lets you delete only specific posts revisions, not all your site revisions at once. The plugin is perfectly integrated in the WordPress back-end, and uses native core functions to safely delete revisions. It is very lightweight, very simple to use, and just does the job!

How does it work?

The plugin adds a discreet link in the post submit box, next to the default revisions counter (see screenshots section). When you click on it, it will purge the appropriate post revisions via AJAX (no JS is also support). It also add a new bulk action option in the post/page row view to let you purge revisions of multiple posts at once.

Since v1.3 you can delete a single revision at once (see screenshots).

See plugin page

NOTE: There is no admin page for this plugin - none is needed.

Post Types support

The default supported post types are post and page, but you can easily add custom post types or remove default post types with the following hook:

function bweb_wpsrd_add_post_types( $postTypes ){
    $postTypes[] = 'additional-cpt';
    $postTypes[] = 'another-cpt';
    return $postTypes;
}
add_filter( 'wpsrd_post_types_list', 'bweb_wpsrd_add_post_types' );

See CODEX to add support to all CPTs: https://codex.wordpress.org/Function_Reference/get_post_types

Custom user capability

The default capability to purge or remove rivisions is delete_post, but you can override this with the following hook:

function bweb_wpsrd_capability() {
    return 'edit_post';
}
add_filter('wpsrd_capability', 'bweb_wpsrd_capability');

Languages

The plugin only bears a few sentences, but you can easily translate them through .MO & .PO files. Currently available languages are:

Become a translator and send me your translation! Contact-me

CHECK OUT MY OTHER PLUGINS

Please ask for help or report bugs if anything goes wrong. It is the best way to make the community benefit!

Requires: 3.5 or higher
Compatible up to: 4.6.2
Last Updated: 2 months ago
Active Installs: 3,000+

Ratings

5 out of 5 stars

Support

2 of 2 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1 100,2,2
100,2,2
100,1,1