Plugin Directory

Changeset 359199


Ignore:
Timestamp:
03/12/2011 04:01:08 PM (15 years ago)
Author:
donalmacarthur
Message:
 
Location:
delete-post-revisions
Files:
17 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • delete-post-revisions/trunk/delete-post-revisions.php

    r352471 r359199  
    22/**
    33 * Plugin Name: Delete Post Revisions
    4  * Plugin URI: http://www.cranesandskyhooks.com/wordpress/plugins/delete-post-revisions/
     4 * Plugin URI: http://cranesandskyhooks.com/wordpress-plugins/delete-post-revisions/
    55 * Description: A simple plugin for deleting unwanted post revisions from your database.
    6  * Version: 1.2
     6 * Version: 1.3
    77 * Author: Donal MacArthur
    88 * Author URI: http://donalmacarthur.com/
     
    2323 *
    2424 * @package Delete_Post_Revisions
    25  * @version 1.2
     25 * @version 1.3
    2626 * @author Donal MacArthur
    27  * @copyright Copyright (c) 2010, Cranes & Skyhooks
    28  * @link http://www.cranesandskyhooks.com/wordpress/plugins/delete-post-revisions/
     27 * @copyright Copyright (c) 2011, Cranes & Skyhooks
     28 * @link http://cranesandskyhooks.com/wordpress/plugins/delete-post-revisions/
    2929 */
    3030
     
    4545
    4646    /* Load the Delete_Post_Revisions class. */
    47     require_once( 'library/classes/delete-revisions.php' );
     47    require_once( 'classes/dpr-backend.php' );
     48
     49    /* Load the DMAC_Admin_Tools() class. */
     50    if ( !class_exists( 'DMAC_Admin_Tools_1_0_00' ) )
     51        require_once( 'classes/dmac-admin-tools.php' );
    4852   
    49     /* If this isn't an Atlas theme, load the Atlas_Admin_Tools class. */
    50     if ( !class_exists( 'Atlas' ) )
    51         require_once( 'library/classes/atlas-admin-tools.php' );
    52        
    5353    /* Set plugin constants. */
    5454    define( 'DPR_URL', plugin_dir_url(__FILE__) );
  • delete-post-revisions/trunk/readme.txt

    r352471 r359199  
    55Requires at least: 3.0
    66Tested up to: 3.1
    7 Stable tag: 1.2
     7Stable tag: 1.3
    88
    99A simple plugin for deleting unwanted post revisions from your database.
     
    1111== Description ==
    1212
    13 By default, whenever you update a post or page, WordPress saves a backup or 'revision' copy of the old page. There is no default limit to how many revisions are saved for each page, so these revision copies tend to build up over time, bloating your database unnecessarily. This simple tool cleans up your database by deleting all existing revisions.
     13By default, whenever you update a post or page, WordPress saves a backup or 'revision' copy of the old page. There's no default limit to how many revisions are saved for each page, so these revision copies tend to build up over time, bloating your database unnecessarily. This simple tool cleans up your database by deleting all existing revisions.
    1414
    15 You should only need to run this plugin once, then you can deactivate and delete it. Deleting your existing revisions won't prevent them from building up again in future, but you can disable the revision feature or limit the number of revisions WordPress saves to a number of your choice by setting WordPress's `WP_POST_REVISIONS` constant. You can find instructions on how to do this on the plugin's homepage [here](http://www.cranesandskyhooks.com/wordpress/plugins/delete-post-revisions/).
     15You should only need to run this plugin once, then you can deactivate and delete it. Deleting your existing revisions won't prevent them from building up again in future, but you can disable the revision feature or limit the number of revisions WordPress saves to a number of your choice by setting WordPress's `WP_POST_REVISIONS` constant. You can find full instructions on how to do this on the [plugin's homepage](http://cranesandskyhooks.com/wordpress-plugins/delete-post-revisions/).
    1616
    1717== Installation ==
     
    2424== Screenshots ==
    2525
    26 1. You can find the Delete Revisions page under the WordPress Tools menu
    27 2. Deleting unwanted revisions is as simple as clicking a button
    28 3. Leaves your database lean, mean, and revision-free
     261. You can find the Delete Revisions page under the WordPress Tools menu.
     272. Deleting unwanted revisions is as simple as clicking a button.
     283. Leaves your database lean, clean, and revision-free.
    2929
    3030== Changelog ==
     31
     32= 1.3 =
     33* Updated all backend functionality to the new DMAC plugin framework to ensure compatibility with future plugin releases.
     34* Updated dashboard support links.
     35
    3136= 1.2 =
    3237* Earlier versions of the plugin ran into memory issues and failed if the user attempted to delete a particularly large number (tens or hundreds of thousands) of revisions. This update implements a more robust deletion routine that can handle indefinitely large numbers of revisions.
    3338* 'Show details' is now an optional extra. Turns out showing details by default isn't such a great idea when you're deleting 40,000 revisions...
     39
    3440= 1.1 =
    3541* Improved interface.
     42
    3643= 1.0 =
    3744* Initial release.
Note: See TracChangeset for help on using the changeset viewer.