Optimize Database after Deleting Revisions - Version 4.7.4

Version Description

[01/05/2019] = * CHANGE: 'set_time_limit' warning suppressed * CHANGE: Some lay-out fixes * NEW: Added a 'help'-button on the settings page

Download this release

Release Info

Developer cageehv
Plugin Icon 128x128 Optimize Database after Deleting Revisions
Version 4.7.4
Comparing to
See all releases

Code changes from version 4.7.3 to 4.7.4

classes/odb-displayer.php CHANGED
@@ -223,7 +223,7 @@ function odb_confirm_delete() {
223
   
224
  <input class="button-primary button-large" type="button" name="analyze" value="'.__('Analyze Database', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=analyze\'" class="odb-bold">
225
  &nbsp;
226
- &nbsp;<input class="button-primary button-large" type="button" name="start_optimization" value="'.__('Start Optimization', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=run\'" class="odb-bold">
227
  ';
228
  } // if($odb_class->odb_logger_obj->odb_log_count() > 0)
229
 
223
  &nbsp;
224
  <input class="button-primary button-large" type="button" name="analyze" value="'.__('Analyze Database', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=analyze\'" class="odb-bold">
225
  &nbsp;
226
+ <input class="button-primary button-large" type="button" name="start_optimization" value="'.__('Start Optimization', $odb_class->odb_txt_domain).'" onclick="self.location=\'tools.php?page=rvg-optimize-database&action=run\'" class="odb-bold">
227
  ';
228
  } // if($odb_class->odb_logger_obj->odb_log_count() > 0)
229
 
images/question.png ADDED
Binary file
includes/settings-page.php CHANGED
@@ -228,7 +228,7 @@ echo '
228
  <div id="odb-options-wrap">
229
  <div id="odb-options-settings">
230
  <div class="odb-title-bar">
231
- <h2>'.__('Settings',$this->odb_txt_domain).'</h2>
232
  </div>
233
  <table border="0" cellspacing="2" cellpadding="5" class="editform" align="center">
234
  <tr>
228
  <div id="odb-options-wrap">
229
  <div id="odb-options-settings">
230
  <div class="odb-title-bar">
231
+ <h2>'.__('Settings',$this->odb_txt_domain) . ' <a href="http://cagewebdev.com/optimize-database-after-deleting-revisions-wordpress-plugin/" target="_blank" title="Help"><img src="' . $this->odb_plugin_url.'images/question.png" align="absmiddle"></a>' . '</h2>
232
  </div>
233
  <table border="0" cellspacing="2" cellpadding="5" class="editform" align="center">
234
  <tr>
readme.txt CHANGED
@@ -10,8 +10,8 @@ Contributors: cageehv
10
  Requires at least: 2.8
11
  Requires PHP: 5.0
12
  Tested up to: 5.0
13
- Stable tag: 4.7.3
14
- Version: 4.7.3
15
  License: GPLv2 or later
16
 
17
  == Description ==
@@ -95,7 +95,7 @@ NO WARRANTY, USE IT AT YOUR OWN RISK!
95
 
96
  = Plugins by CAGE Web Design | Rolf van Gelder =
97
  WordPress plugins created by CAGE Web Design | Rolf van Gelder<br>
98
- http://cagewebdev.com/wordpress-plugins/
99
 
100
  == Installation ==
101
 
@@ -111,6 +111,11 @@ http://cagewebdev.com/wordpress-plugins/
111
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
112
 
113
  == Changelog ==
 
 
 
 
 
114
  = 4.7.3 [12/12/2018] =
115
  * CHANGE: The deletion of transients has been fully rewritten and is many times faster now!
116
  * CHANGE: Increased the time_limit
10
  Requires at least: 2.8
11
  Requires PHP: 5.0
12
  Tested up to: 5.0
13
+ Stable tag: 4.7.4
14
+ Version: 4.7.4
15
  License: GPLv2 or later
16
 
17
  == Description ==
95
 
96
  = Plugins by CAGE Web Design | Rolf van Gelder =
97
  WordPress plugins created by CAGE Web Design | Rolf van Gelder<br>
98
+ http://cagewebdev.com/category/news-tech-art/wordpress/
99
 
100
  == Installation ==
101
 
111
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
112
 
113
  == Changelog ==
114
+ = 4.7.4 [01/05/2019] =
115
+ * CHANGE: 'set_time_limit' warning suppressed
116
+ * CHANGE: Some lay-out fixes
117
+ * NEW: Added a 'help'-button on the settings page
118
+
119
  = 4.7.3 [12/12/2018] =
120
  * CHANGE: The deletion of transients has been fully rewritten and is many times faster now!
121
  * CHANGE: Increased the time_limit
rvg-optimize-database.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
- * @version 4.7.3
5
  */
6
  /*
7
  Plugin Name: Optimize Database after Deleting Revisions
@@ -10,7 +10,7 @@ Description: Optimizes the Wordpress Database after Cleaning it out
10
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
11
  Author URI: http://cagewebdev.com
12
  Network: True
13
- Version: 4.7.3
14
  */
15
 
16
  /********************************************************************************************
@@ -19,8 +19,8 @@ Version: 4.7.3
19
  *
20
  ********************************************************************************************/
21
 
22
- // INCREASE THE TIME LIMIT v4.7.3
23
- set_time_limit ( 4 * 3600 );
24
 
25
  // CREATE INSTANCE
26
  global $odb_class;
@@ -28,8 +28,8 @@ $odb_class = new OptimizeDatabase();
28
 
29
  class OptimizeDatabase {
30
  // VERSION
31
- var $odb_version = '4.7.3';
32
- var $odb_release_date = '12/12/2018';
33
 
34
  // PLUGIN OPTIONS
35
  var $odb_rvg_options = array();
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
+ * @version 4.7.4
5
  */
6
  /*
7
  Plugin Name: Optimize Database after Deleting Revisions
10
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
11
  Author URI: http://cagewebdev.com
12
  Network: True
13
+ Version: 4.7.4
14
  */
15
 
16
  /********************************************************************************************
19
  *
20
  ********************************************************************************************/
21
 
22
+ // INCREASE THE TIME LIMIT v4.7.4
23
+ @set_time_limit(4*3600);
24
 
25
  // CREATE INSTANCE
26
  global $odb_class;
28
 
29
  class OptimizeDatabase {
30
  // VERSION
31
+ var $odb_version = '4.7.4';
32
+ var $odb_release_date = '01/05/2019';
33
 
34
  // PLUGIN OPTIONS
35
  var $odb_rvg_options = array();