Optimize Database after Deleting Revisions - Version 4.8.7

Version Description

[09/28/2019] = * BUG FIX: Bug fix for 'Delete revisions older than'

Download this release

Release Info

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

Code changes from version 4.8.6 to 4.8.7

classes/odb-cleaner.php CHANGED
@@ -88,12 +88,12 @@ class ODB_Cleaner {
88
  if($odb_class->odb_rvg_options['delete_older'] == 'Y') {
89
  $results_older_than = $this->odb_get_revisions_older_than();
90
  } // if($odb_class->odb_rvg_options['delete_older'] == 'Y')
91
-
92
  $results_keep_revisions = array();
93
  if($odb_class->odb_rvg_options['rvg_revisions'] == 'Y') {
94
  $results_keep_revisions = $this->odb_get_revisions_keep_revisions();
95
- } if($odb_class->odb_rvg_options['rvg_revisions'] == 'Y')
96
-
97
  if (count($results_older_than) > 0 || count($results_keep_revisions) > 0) {
98
  // REVISIONS FOUND
99
  $this->grand_total += count($results_older_than) + count($results_keep_revisions);
88
  if($odb_class->odb_rvg_options['delete_older'] == 'Y') {
89
  $results_older_than = $this->odb_get_revisions_older_than();
90
  } // if($odb_class->odb_rvg_options['delete_older'] == 'Y')
91
+
92
  $results_keep_revisions = array();
93
  if($odb_class->odb_rvg_options['rvg_revisions'] == 'Y') {
94
  $results_keep_revisions = $this->odb_get_revisions_keep_revisions();
95
+ } // if($odb_class->odb_rvg_options['rvg_revisions'] == 'Y')
96
+
97
  if (count($results_older_than) > 0 || count($results_keep_revisions) > 0) {
98
  // REVISIONS FOUND
99
  $this->grand_total += count($results_older_than) + count($results_keep_revisions);
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.2.3
13
- Stable tag: 4.8.6
14
- Version: 4.8.6
15
  License: GPLv2 or later
16
 
17
  == Description ==
@@ -111,6 +111,9 @@ http://cagewebdev.com/category/news-tech-art/wordpress/
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.8.6 [09/22/2019] =
115
  * BUG FIX: Some bug fixes + other minor changes
116
 
10
  Requires at least: 2.8
11
  Requires PHP: 5.0
12
  Tested up to: 5.2.3
13
+ Stable tag: 4.8.7
14
+ Version: 4.8.7
15
  License: GPLv2 or later
16
 
17
  == Description ==
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.8.7 [09/28/2019] =
115
+ * BUG FIX: Bug fix for 'Delete revisions older than'
116
+
117
  = 4.8.6 [09/22/2019] =
118
  * BUG FIX: Some bug fixes + other minor changes
119
 
rvg-optimize-database.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
- * @version 4.8.6
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.8.6
14
  */
15
 
16
  /********************************************************************************************
@@ -28,8 +28,8 @@ $odb_class = new OptimizeDatabase();
28
 
29
  class OptimizeDatabase {
30
  // VERSION
31
- var $odb_version = '4.8.6';
32
- var $odb_release_date = '09/22/2019';
33
 
34
  // PLUGIN OPTIONS
35
  var $odb_rvg_options = array();
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
+ * @version 4.8.7
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.8.7
14
  */
15
 
16
  /********************************************************************************************
28
 
29
  class OptimizeDatabase {
30
  // VERSION
31
+ var $odb_version = '4.8.7';
32
+ var $odb_release_date = '09/28/2019';
33
 
34
  // PLUGIN OPTIONS
35
  var $odb_rvg_options = array();