Optimize Database after Deleting Revisions - Version 4.1.8

Version Description

[06/24/2016] = * CHANGE: Reverted back to 4.1.6 due to some problems. Sorry!

Download this release

Release Info

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

Code changes from version 4.1.7 to 4.1.8

classes/odb-cleaner.php CHANGED
@@ -1118,7 +1118,7 @@ class ODB_Cleaner
1118
  ", $odb_class->odb_ms_prefixes[$i], $odb_class->odb_ms_prefixes[$i]);
1119
  $wpdb->get_results($sql_delete);
1120
  }
1121
-
1122
  // DELETE MEDIA ORPHANS (v4.1.7)
1123
  $sql_delete = sprintf ("
1124
  SELECT `ID`
@@ -1141,8 +1141,10 @@ class ODB_Cleaner
1141
  $wpdb->get_results($sql_delete);
1142
  } // for ($j=0; $j<count($results); $j++)
1143
  } // if($media_orphans > 0)
1144
- } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
1145
- return ($meta_orphans + $post_orphans + $media_orphans);
 
 
1146
  } // odb_delete_orphans()
1147
 
1148
 
1118
  ", $odb_class->odb_ms_prefixes[$i], $odb_class->odb_ms_prefixes[$i]);
1119
  $wpdb->get_results($sql_delete);
1120
  }
1121
+ /*
1122
  // DELETE MEDIA ORPHANS (v4.1.7)
1123
  $sql_delete = sprintf ("
1124
  SELECT `ID`
1141
  $wpdb->get_results($sql_delete);
1142
  } // for ($j=0; $j<count($results); $j++)
1143
  } // if($media_orphans > 0)
1144
+ */
1145
+
1146
+ } // for($i=0; $i<count($odb_class->odb_ms_prefixes); $i++)
1147
+ return ($meta_orphans + $post_orphans);
1148
  } // odb_delete_orphans()
1149
 
1150
 
readme.txt CHANGED
@@ -8,8 +8,8 @@ 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.5.3
11
- Stable tag: 4.1.7
12
- Version: 4.1.7
13
  License: GPLv2 or later
14
 
15
  == Description ==
@@ -101,6 +101,9 @@ http://cagewebdev.com/index.php/wordpress-plugins/
101
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
102
 
103
  == Changelog ==
 
 
 
104
  = 4.1.7 [06/23/2016] =
105
  * CHANGE: Orphaned media items will be deleted too now
106
 
8
  Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
9
  Requires at least: 2.8
10
  Tested up to: 4.5.3
11
+ Stable tag: 4.1.8
12
+ Version: 4.1.8
13
  License: GPLv2 or later
14
 
15
  == Description ==
101
  * If you run the plugin from any of the sites, it will cleanup ALL the sites in the network!
102
 
103
  == Changelog ==
104
+ = 4.1.8 [06/24/2016] =
105
+ * CHANGE: Reverted back to 4.1.6 due to some problems. Sorry!
106
+
107
  = 4.1.7 [06/23/2016] =
108
  * CHANGE: Orphaned media items will be deleted too now
109
 
rvg-optimize-database.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
- * @version 4.1.7
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.1.7
14
  */
15
 
16
  /********************************************************************************************
@@ -25,8 +25,8 @@ $odb_class = new OptimizeDatabase();
25
  class OptimizeDatabase
26
  {
27
  // VERSION
28
- var $odb_version = '4.1.7';
29
- var $odb_release_date = '06/23/2016';
30
 
31
  // PLUGIN OPTIONS
32
  var $odb_rvg_options = array();
1
  <?php
2
  /**
3
  * @package Optimize Database after Deleting Revisions
4
+ * @version 4.1.8
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.1.8
14
  */
15
 
16
  /********************************************************************************************
25
  class OptimizeDatabase
26
  {
27
  // VERSION
28
+ var $odb_version = '4.1.8';
29
+ var $odb_release_date = '06/24/2016';
30
 
31
  // PLUGIN OPTIONS
32
  var $odb_rvg_options = array();