Better Delete Revision - Version 1.2

Version Description

  • 25.01.2011 =
  • Update : Used the Role and Capabilities system instead of User Level.
Download this release

Release Info

Developer galerio
Plugin Icon 128x128 Better Delete Revision
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

Files changed (5) hide show
  1. better-delete-revision.php +6 -4
  2. changelog.txt +2 -0
  3. php/functions.php +1 -1
  4. readme.txt +41 -45
  5. todo.txt +2 -1
better-delete-revision.php CHANGED
@@ -5,7 +5,7 @@ Plugin Name: Better Delete Revision
5
  Plugin URI: http://www.1e2.it/tag/better-delete-revision
6
 
7
  Description: Better Delete Revision is based on the old "Delete Revision" plugin
8
- but it is compatible with the latest version of Wordpress (3.0.3) with improved
9
  features. It not only deletes redundant revisions of posts from your Wordpress
10
  Database, it also deletes other database content related to each revision such
11
  meta information, tags, relationships, and more. Your current published,
@@ -16,7 +16,7 @@ throughout use. Removing old revisions and database optimizations is one of the
16
  best things you can do to your Wordpress blog to keep it running as fast as it
17
  can.
18
 
19
- Version: 1.1
20
 
21
  Author: Galerio & Urda
22
 
@@ -35,7 +35,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35
  /*
36
  Changelog
37
 
38
- 2010-10-?? v1.1
 
 
39
  Typo and English Corrections
40
 
41
  2010-09-25 v1.0
@@ -74,7 +76,7 @@ function bdelete_revision_main()
74
  {
75
  add_options_page('Better Delete Revision',
76
  'Better Delete Revision',
77
- 8,
78
  basename(__FILE__),
79
  'my_options_bdelete_revision');
80
  }
5
  Plugin URI: http://www.1e2.it/tag/better-delete-revision
6
 
7
  Description: Better Delete Revision is based on the old "Delete Revision" plugin
8
+ but it is compatible with the latest version of Wordpress (3.x) with improved
9
  features. It not only deletes redundant revisions of posts from your Wordpress
10
  Database, it also deletes other database content related to each revision such
11
  meta information, tags, relationships, and more. Your current published,
16
  best things you can do to your Wordpress blog to keep it running as fast as it
17
  can.
18
 
19
+ Version: 1.2
20
 
21
  Author: Galerio & Urda
22
 
35
  /*
36
  Changelog
37
 
38
+ 2011-01-25 v1.2 Used the Roles and Capabilities system instead of User Level
39
+
40
+ 2010-10-01 v1.1
41
  Typo and English Corrections
42
 
43
  2010-09-25 v1.0
76
  {
77
  add_options_page('Better Delete Revision',
78
  'Better Delete Revision',
79
+ 'manage_options',
80
  basename(__FILE__),
81
  'my_options_bdelete_revision');
82
  }
changelog.txt CHANGED
@@ -1,3 +1,5 @@
 
 
1
  2010-10-21 v1.1
2
  English corrections
3
  Function cleanup
1
+ 2011-01-25 v1.2 Used the Roles and Capabilities system instead of User Level
2
+
3
  2010-10-21 v1.1
4
  English corrections
5
  Function cleanup
php/functions.php CHANGED
@@ -37,7 +37,7 @@ function get_bdr_footer()
37
  }
38
  function get_bdr_version()
39
  {
40
- return '1.1';
41
  }
42
 
43
  function get_my_posts()
37
  }
38
  function get_bdr_version()
39
  {
40
+ return '1.2';
41
  }
42
 
43
  function get_my_posts()
readme.txt CHANGED
@@ -1,27 +1,22 @@
1
- === Plugin Name ===
2
- Contributors: Galerio, Urda
3
- Donate link: http://www.1e2.it/donazione
4
- Tags: better delete revision, revision, delete, remove, removal, revision removal, delete revision, disable revision, no revision, revision manager, manage revision, remove revision, post revision, page revision, optimize database, database optimization, optimize, fast, light, faster, lighter, speed up
5
  Requires at least: 2.7
6
- Tested up to: 3.0.3
7
- Stable tag: 1.1
 
 
8
 
9
  Remove and delete old revision of posts, pages and related meta content completely then optimize Database: reduce size and optimization to speed up!
10
 
11
  == Description ==
12
 
13
- Better Delete Revision not only deletes redundant revisions of posts from your Wordpress Database, it also deletes other database content related to each revision such meta information, tags, relationships, and more.
14
- Better Delete Revision is based on the old "Delete Revision" plugin but it is compatible with the latest version of Wordpress (3.0.3) with improved features.
15
- = Your current published, scheduled, and draft posts are never touched by this plugin! =
16
- This plugin can also perform optimizations on your Wordpress database. With optimization and old revision removal this plugin will keep your database lighter and smaller throughout use. Removing old revisions and database optimizations is one of the best things you can do to your Wordpress blog to keep it running as fast as it can.
17
 
18
- Post Revisions are a feature introduced in Wordpress 2.6. Whenever you or Wordpress saves a post or a page, a revision is automatically created and stored in your Wordpress database. Each additional revision will slowly increase the size of your database. If you save a post or page multiple times, your number of revisions will greatly increase overtime. For example, if you have 100 posts and each post has 10 revisions you could be storing up to 1,000 copies of older data! The Better Delete Revision plugin is your #1 choice to quickly and easily removing revision from your Wordpress database. Try it out today to see what a lighter and smaller Wordpress database can do for you!
19
 
20
- Home Page: http://www.1e2.it/tag/better-delete-revision on www.1e2.it
21
 
22
- = Remember to VOTE IT !!! Thanks =
23
-
24
- Thanks goes to Urda for version 1.1
25
 
26
  == Installation ==
27
 
@@ -37,47 +32,48 @@ Just copy the new files over the old ones or use the automatic upgrade function
37
 
38
  == Frequently Asked Questions ==
39
 
40
- = What does it have more than Delete Revision or Revision Removal or other similar plugin? =
41
 
42
- It has the ability to remove completely the revision posts and pages and related meta tag, description and other things that are useless. The other plugins doesn't really remove all the waste things.
43
 
44
- = To clean datebase is safe? =
45
 
46
- Yes, it's very safe
47
 
48
- = Will not affect the normal published post? =
49
 
50
- No. The revision posts is redundancy, is not same to the normal posts. For this reason they can be safely removed to save space, increase database speed.
51
 
52
  == Screenshots ==
53
 
54
  1. Revision Removal Control Panel.
55
  2. Database Optimization.
56
 
57
-
58
  == Changelog ==
59
- = 1.1 =
60
- * 2010-10-21 v1.1
61
- * English corrections
62
- * Function cleanup
63
- * Source code cleanup
64
- * Moved various strings into functions
 
 
 
65
  * = by Urda =
66
 
67
- = 1.0 =
68
- * Just completed test on wordpress 3.0.1
69
-
70
- == Todo ==
71
-
72
- - General
73
- * Clean up code to fit within an 80-character margin limit. Not only doe this assit with various code editors, it forces the programmer to keep the code clean and effecient!
74
- * Move strings into a constant file, for easier updating and tracking.
75
- * Create a CSS file in charge of handling styles for look and feel.
76
-
77
- - Internationalization
78
- * Needs to be done correctly, some code is using 'echo', other code is using the _e() calls from Wordpress. Either Internationalization needs to be implemented, or yank it all together for the time being.
79
-
80
- - SQL Related
81
- * Add sometime of documentation explaining each and every SQL query
82
- * Possibly Move SQL queries into abstracted file?
83
- * Clean up SQL (ID vs `ID`)
1
+ === Better Delete Revision ===
2
+ Contributors: galerio, Urda, bestweblayout
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K72TR62V5ZDU8
4
+ Tags: better delete revision, revision, delete, remove, removal, revision removal, delete revision, disable revision, no revision, revision manager, manage revision, remove revision, post revision, page revision, optimize database, database optimization, optimize, fast, light, faster, lighter, speed up, improve site performance, redundant revisions, perform optimization, delete revision from database, remove old database content, reduce database size
5
  Requires at least: 2.7
6
+ Tested up to: 3.9.1
7
+ Stable tag: 1.2
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Remove and delete old revision of posts, pages and related meta content completely then optimize Database: reduce size and optimization to speed up!
12
 
13
  == Description ==
14
 
15
+ = PLEASE, DON'T USE IT UNTIL VERSION 2.0 BECAUSE IT IS AFFECTED BY A BUG THAT CAN POTENTIALLY DELETE OTHER STUFF IN SOME RARE CASES. =
 
 
 
16
 
17
+ I'm sorry and I hope to get it safely works soon.
18
 
 
19
 
 
 
 
20
 
21
  == Installation ==
22
 
32
 
33
  == Frequently Asked Questions ==
34
 
35
+ = Why is it better than Delete Revision or Revision Removal or other similar plugins? =
36
 
37
+ It has the ability to remove completely the revision posts and pages as well as related meta tags, description and other useless things. The other plugins doesn't really remove all the waste things.
38
 
39
+ = Is it safe to clean database? =
40
 
41
+ Yes, it's completely safe.
42
 
43
+ = Will it affect the published posts? =
44
 
45
+ No. The revision posts is redundancy, is not the same that the normal posts. For this reason, they can be safely removed to save space and increase database speed.
46
 
47
  == Screenshots ==
48
 
49
  1. Revision Removal Control Panel.
50
  2. Database Optimization.
51
 
 
52
  == Changelog ==
53
+
54
+ = V1.2 - 25.01.2011 =
55
+ * Update : Used the Role and Capabilities system instead of User Level.
56
+
57
+ = V1.1 - 21.10.2010 =
58
+ * Update : English corrections.
59
+ * Update : Function cleanup.
60
+ * Update : Source code cleanup.
61
+ * Update : Moved various strings into functions.
62
  * = by Urda =
63
 
64
+ = V1.0 - 25.09.2010 =
65
+ * New : Just completed test on Wordpress 3.0.1
66
+
67
+ == Upgrade Notice ==
68
+
69
+ = V1.3 =
70
+ We updated all functionality for Wordpress 3.9.1. The Russian and Italian language file are added to the plugin.
71
+
72
+ = V1.2 =
73
+ Used the Role and Capabilities system instead of User Level.
74
+
75
+ = V1.1 =
76
+ English corrections. Function cleanup. Source code cleanup. Moved various strings into functions.
77
+
78
+ = V1.0 =
79
+ Just completed test on Wordpress 3.0.1
 
todo.txt CHANGED
@@ -13,4 +13,5 @@
13
  - SQL Related
14
  * Add sometime of documentation explaining each and every SQL query
15
  * Possibly Move SQL queries into abstracted file?
16
- * Clean up SQL (ID vs `ID`)
 
13
  - SQL Related
14
  * Add sometime of documentation explaining each and every SQL query
15
  * Possibly Move SQL queries into abstracted file?
16
+ * Clean up SQL (ID vs `ID`)
17
+ * Support for Wordpress MU