Optimize Database after Deleting Revisions - Version 4.4.1

Version Description

[11/06/2017] = * BUG FIX: Bug in counting excluded tables fixed

Download this release

Release Info

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

Code changes from version 4.4 to 4.4.1

includes/settings-page.php CHANGED
@@ -22,11 +22,11 @@ if (isset($_POST['info_update'])) {
22
  $rel_posttypes = $this->odb_utilities_obj->odb_get_relevant_post_types();
23
  // LOOP THROUGH THE RELEVANT POST TYPES
24
  foreach ($rel_posttypes as $posttype) {
25
- if (isset($_POST['cb_cpt_' . $posttype])) {
26
  $updated_pts[$posttype] = "Y";
27
  } else {
28
  $updated_pts[$posttype] = "N";
29
- } // if (isset($_POST['cb_cpt_' . $posttype]))
30
  } // foreach ($rel_posttypes as $posttype)
31
  // UPDATE OPTIONS
32
  $this->odb_rvg_options['post_types'] = $updated_pts;
@@ -251,7 +251,7 @@ foreach ($rel_posttypes as $posttype) {
251
  echo '
252
  <td width="50%" valign="top">
253
  <span class="odb-bold">
254
- <input name="cb_cpt_' . $posttype . '" id="cb_cpt_' . $posttype . '" type="checkbox" value="Y" ' . $cb_checked . ' /></span>
255
  </td>
256
  </tr>
257
  ';
22
  $rel_posttypes = $this->odb_utilities_obj->odb_get_relevant_post_types();
23
  // LOOP THROUGH THE RELEVANT POST TYPES
24
  foreach ($rel_posttypes as $posttype) {
25
+ if (isset($_POST['rvg_cb_cpt_' . $posttype])) {
26
  $updated_pts[$posttype] = "Y";
27
  } else {
28
  $updated_pts[$posttype] = "N";
29
+ } // if (isset($_POST['rvg_cb_cpt_' . $posttype]))
30
  } // foreach ($rel_posttypes as $posttype)
31
  // UPDATE OPTIONS
32
  $this->odb_rvg_options['post_types'] = $updated_pts;
251
  echo '
252
  <td width="50%" valign="top">
253
  <span class="odb-bold">
254
+ <input name="rvg_cb_cpt_' . $posttype . '" id="rvg_cb_cpt_' . $posttype . '" type="checkbox" value="Y" ' . $cb_checked . ' /></span>
255
  </td>
256
  </tr>
257
  ';
readme.txt CHANGED
@@ -7,9 +7,9 @@ Tags: database, delete, revisions, optimize, post, posts, page, pages, clean, cl
7
  Author URI: http://cagewebdev.com
8
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
9
  Requires at least: 2.8
10
- Tested up to: 4.8.1
11
- Stable tag: 4.4
12
- Version: 4.4
13
  License: GPLv2 or later
14
 
15
  == Description ==
@@ -102,6 +102,9 @@ http://cagewebdev.com/wordpress-plugins/
102
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
103
 
104
  == Changelog ==
 
 
 
105
  = 4.4 [08/22/2017] =
106
  * NEW: New options to delete revisions of posts, pages and / or specific custom post types
107
 
7
  Author URI: http://cagewebdev.com
8
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
9
  Requires at least: 2.8
10
+ Tested up to: 4.9
11
+ Stable tag: 4.4.1
12
+ Version: 4.4.1
13
  License: GPLv2 or later
14
 
15
  == Description ==
102
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
103
 
104
  == Changelog ==
105
+ = 4.4.1 [11/06/2017] =
106
+ * BUG FIX: Bug in counting excluded tables fixed
107
+
108
  = 4.4 [08/22/2017] =
109
  * NEW: New options to delete revisions of posts, pages and / or specific custom post types
110
 
rvg-optimize-database.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
- * @version 4.4
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.4
14
  */
15
 
16
  /********************************************************************************************
@@ -24,8 +24,8 @@ $odb_class = new OptimizeDatabase();
24
 
25
  class OptimizeDatabase {
26
  // VERSION
27
- var $odb_version = '4.4';
28
- var $odb_release_date = '08/22/2017';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
+ * @version 4.4.1
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.4.1
14
  */
15
 
16
  /********************************************************************************************
24
 
25
  class OptimizeDatabase {
26
  // VERSION
27
+ var $odb_version = '4.4.1';
28
+ var $odb_release_date = '11/06/2017';
29
 
30
  // PLUGIN OPTIONS
31
  var $odb_rvg_options = array();