Version Description
[12/09/2013] = * BUG FIX: forgot to delete a debug item... oops! sorry!
Download this release
Release Info
Developer | cageehv |
Plugin | Optimize Database after Deleting Revisions |
Version | 2.7.2 |
Comparing to | |
See all releases |
Code changes from version 2.7.1 to 2.7.2
- readme.txt +5 -2
- rvg-optimize-db.php +5 -5
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.0
|
10 |
Tested up to: 3.7.1
|
11 |
-
Stable tag: 2.7.
|
12 |
-
Version: 2.7.
|
13 |
|
14 |
== Description ==
|
15 |
|
@@ -54,6 +54,9 @@ No warranty, use at own risk!
|
|
54 |
|
55 |
== Changelog ==
|
56 |
|
|
|
|
|
|
|
57 |
= 2.7.1 [12/09/2013] =
|
58 |
* BUG FIX: query and depreciated item (mysql_list_tables) fixed
|
59 |
|
8 |
Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
|
9 |
Requires at least: 2.0
|
10 |
Tested up to: 3.7.1
|
11 |
+
Stable tag: 2.7.2
|
12 |
+
Version: 2.7.2
|
13 |
|
14 |
== Description ==
|
15 |
|
54 |
|
55 |
== Changelog ==
|
56 |
|
57 |
+
= 2.7.2 [12/09/2013] =
|
58 |
+
* BUG FIX: forgot to delete a debug item... oops! sorry!
|
59 |
+
|
60 |
= 2.7.1 [12/09/2013] =
|
61 |
* BUG FIX: query and depreciated item (mysql_list_tables) fixed
|
62 |
|
rvg-optimize-db.php
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
<?php
|
2 |
-
$odb_version = '2.7.
|
3 |
$odb_release_date = '12/09/2013';
|
4 |
/**
|
5 |
* @package Optimize Database after Deleting Revisions
|
6 |
-
* @version 2.7.
|
7 |
*/
|
8 |
/*
|
9 |
Plugin Name: Optimize Database after Deleting Revisions
|
10 |
Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/
|
11 |
Description: Optimizes the Wordpress Database after Cleaning it out - <a href="options-general.php?page=rvg_odb_admin"><strong>plug in options</strong></a>
|
12 |
Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
|
13 |
-
Version: 2.7.
|
14 |
Author URI: http://cagewebdev.com
|
15 |
*/
|
16 |
?>
|
@@ -1267,7 +1267,7 @@ function rvg_delete_transients()
|
|
1267 |
|
1268 |
$sql = "
|
1269 |
SELECT *
|
1270 |
-
FROM
|
1271 |
WHERE (
|
1272 |
option_name LIKE '_transient_timeout_%'
|
1273 |
OR option_name LIKE '_site_transient_timeout_%'
|
@@ -1279,7 +1279,7 @@ function rvg_delete_transients()
|
|
1279 |
$total_deleted += count($results);
|
1280 |
|
1281 |
$sql = "
|
1282 |
-
DELETE FROM
|
1283 |
WHERE (
|
1284 |
option_name LIKE '_transient_timeout_%'
|
1285 |
OR option_name LIKE '_site_transient_timeout_%'
|
1 |
<?php
|
2 |
+
$odb_version = '2.7.2';
|
3 |
$odb_release_date = '12/09/2013';
|
4 |
/**
|
5 |
* @package Optimize Database after Deleting Revisions
|
6 |
+
* @version 2.7.2
|
7 |
*/
|
8 |
/*
|
9 |
Plugin Name: Optimize Database after Deleting Revisions
|
10 |
Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/
|
11 |
Description: Optimizes the Wordpress Database after Cleaning it out - <a href="options-general.php?page=rvg_odb_admin"><strong>plug in options</strong></a>
|
12 |
Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
|
13 |
+
Version: 2.7.2
|
14 |
Author URI: http://cagewebdev.com
|
15 |
*/
|
16 |
?>
|
1267 |
|
1268 |
$sql = "
|
1269 |
SELECT *
|
1270 |
+
FROM $wpdb->options
|
1271 |
WHERE (
|
1272 |
option_name LIKE '_transient_timeout_%'
|
1273 |
OR option_name LIKE '_site_transient_timeout_%'
|
1279 |
$total_deleted += count($results);
|
1280 |
|
1281 |
$sql = "
|
1282 |
+
DELETE FROM $wpdb->options
|
1283 |
WHERE (
|
1284 |
option_name LIKE '_transient_timeout_%'
|
1285 |
OR option_name LIKE '_site_transient_timeout_%'
|