Changeset 359199
- Timestamp:
- 03/12/2011 04:01:08 PM (15 years ago)
- Location:
- delete-post-revisions
- Files:
-
- 17 added
- 1 deleted
- 2 edited
-
tags/1.3 (added)
-
tags/1.3/classes (added)
-
tags/1.3/classes/dmac-admin-tools.php (added)
-
tags/1.3/classes/dpr-backend.php (added)
-
tags/1.3/delete-post-revisions.php (added)
-
tags/1.3/license.txt (added)
-
tags/1.3/readme.txt (added)
-
tags/1.3/screenshot-1.png (added)
-
tags/1.3/screenshot-2.png (added)
-
tags/1.3/screenshot-3.png (added)
-
tags/1.3/styles (added)
-
tags/1.3/styles/dmac-admin-styles.css (added)
-
trunk/classes (added)
-
trunk/classes/dmac-admin-tools.php (added)
-
trunk/classes/dpr-backend.php (added)
-
trunk/delete-post-revisions.php (modified) (3 diffs)
-
trunk/library (deleted)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/styles (added)
-
trunk/styles/dmac-admin-styles.css (added)
Legend:
- Unmodified
- Added
- Removed
-
delete-post-revisions/trunk/delete-post-revisions.php
r352471 r359199 2 2 /** 3 3 * 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/ 5 5 * Description: A simple plugin for deleting unwanted post revisions from your database. 6 * Version: 1. 26 * Version: 1.3 7 7 * Author: Donal MacArthur 8 8 * Author URI: http://donalmacarthur.com/ … … 23 23 * 24 24 * @package Delete_Post_Revisions 25 * @version 1. 225 * @version 1.3 26 26 * @author Donal MacArthur 27 * @copyright Copyright (c) 201 0, Cranes & Skyhooks28 * @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/ 29 29 */ 30 30 … … 45 45 46 46 /* 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' ); 48 52 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 53 53 /* Set plugin constants. */ 54 54 define( 'DPR_URL', plugin_dir_url(__FILE__) ); -
delete-post-revisions/trunk/readme.txt
r352471 r359199 5 5 Requires at least: 3.0 6 6 Tested up to: 3.1 7 Stable tag: 1. 27 Stable tag: 1.3 8 8 9 9 A simple plugin for deleting unwanted post revisions from your database. … … 11 11 == Description == 12 12 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.13 By 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. 14 14 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/).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 full instructions on how to do this on the [plugin's homepage](http://cranesandskyhooks.com/wordpress-plugins/delete-post-revisions/). 16 16 17 17 == Installation == … … 24 24 == Screenshots == 25 25 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-free26 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, clean, and revision-free. 29 29 30 30 == 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 31 36 = 1.2 = 32 37 * 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. 33 38 * '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 34 40 = 1.1 = 35 41 * Improved interface. 42 36 43 = 1.0 = 37 44 * Initial release.
Note: See TracChangeset
for help on using the changeset viewer.