Version Description
[08/04/2021] = * BUG FIX: Syntax error corrected
Download this release
Release Info
Developer | cageehv |
Plugin | Optimize Database after Deleting Revisions |
Version | 5.0.9 |
Comparing to | |
See all releases |
Code changes from version 5.0.8 to 5.0.9
- readme.txt +5 -2
- rvg-optimize-database.php +9 -6
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.8
|
13 |
-
Stable tag: 5.0.
|
14 |
-
Version: 5.0.
|
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 |
= 5.0.8 [08/03/2021] =
|
115 |
* BUG FIX: Some performance inprovements (2nd try)
|
116 |
|
10 |
Requires at least: 2.8
|
11 |
Requires PHP: 5.0
|
12 |
Tested up to: 5.8
|
13 |
+
Stable tag: 5.0.9
|
14 |
+
Version: 5.0.9
|
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 |
+
= 5.0.9 [08/04/2021] =
|
115 |
+
* BUG FIX: Syntax error corrected
|
116 |
+
|
117 |
= 5.0.8 [08/03/2021] =
|
118 |
* BUG FIX: Some performance inprovements (2nd try)
|
119 |
|
rvg-optimize-database.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Optimize Database after Deleting Revisions
|
4 |
-
* @version 5.0.
|
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: 5.0.
|
14 |
*/
|
15 |
|
16 |
/********************************************************************************************
|
@@ -28,8 +28,8 @@ $odb_class = new OptimizeDatabase();
|
|
28 |
|
29 |
class OptimizeDatabase {
|
30 |
// VERSION
|
31 |
-
var $odb_version = '5.0.
|
32 |
-
var $odb_release_date = '08/
|
33 |
|
34 |
// PLUGIN OPTIONS
|
35 |
var $odb_rvg_options = array();
|
@@ -537,8 +537,11 @@ class OptimizeDatabase {
|
|
537 |
*******************************************************************************/
|
538 |
function odb_is_relevant_page() {
|
539 |
$this_page = '';
|
540 |
-
if(isset($_GET['page']))
|
541 |
-
|
|
|
|
|
|
|
542 |
} // odb_is_relevant_page()
|
543 |
|
544 |
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Optimize Database after Deleting Revisions
|
4 |
+
* @version 5.0.9
|
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: 5.0.9
|
14 |
*/
|
15 |
|
16 |
/********************************************************************************************
|
28 |
|
29 |
class OptimizeDatabase {
|
30 |
// VERSION
|
31 |
+
var $odb_version = '5.0.9';
|
32 |
+
var $odb_release_date = '08/04/2021';
|
33 |
|
34 |
// PLUGIN OPTIONS
|
35 |
var $odb_rvg_options = array();
|
537 |
*******************************************************************************/
|
538 |
function odb_is_relevant_page() {
|
539 |
$this_page = '';
|
540 |
+
if(isset($_GET['page'])) {
|
541 |
+
$this_page = $_GET['page'];
|
542 |
+
return ($this_page == 'odb_settings_page' || $this_page == 'rvg-optimize-database');
|
543 |
+
}
|
544 |
+
return false;
|
545 |
} // odb_is_relevant_page()
|
546 |
|
547 |
|