Version Description
[02/20/2015] =
- BUG FIX: fixed the link to the settings page
Download this release
Release Info
Developer | cageehv |
Plugin | Optimize Database after Deleting Revisions |
Version | 3.1.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.1 to 3.1.2
- readme.txt +5 -2
- rvg-optimize-db.php +18 -7
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.1.1
|
11 |
-
Stable tag: 3.1.
|
12 |
-
Version: 3.1.
|
13 |
License: GPLv2 or later
|
14 |
|
15 |
== Description ==
|
@@ -65,6 +65,9 @@ http://cagewebdev.com/index.php/wordpress-plugins/
|
|
65 |
* Change the settings (if needed) in the WP Admin Panel » Settings » Optimize DB Settings.
|
66 |
|
67 |
== Changelog ==
|
|
|
|
|
|
|
68 |
|
69 |
= 3.1.1 [02/20/2015] =
|
70 |
* NEW: added plugin banners and icons
|
8 |
Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
|
9 |
Requires at least: 2.8
|
10 |
Tested up to: 4.1.1
|
11 |
+
Stable tag: 3.1.2
|
12 |
+
Version: 3.1.2
|
13 |
License: GPLv2 or later
|
14 |
|
15 |
== Description ==
|
65 |
* Change the settings (if needed) in the WP Admin Panel » Settings » Optimize DB Settings.
|
66 |
|
67 |
== Changelog ==
|
68 |
+
= 3.1.2 [02/20/2015] =
|
69 |
+
|
70 |
+
* BUG FIX: fixed the link to the settings page
|
71 |
|
72 |
= 3.1.1 [02/20/2015] =
|
73 |
* NEW: added plugin banners and icons
|
rvg-optimize-db.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
-
$odb_version = '3.1.
|
3 |
$odb_release_date = '02/20/2015';
|
4 |
/**
|
5 |
* @package Optimize Database after Deleting Revisions
|
6 |
-
* @version 3.1.
|
7 |
*/
|
8 |
/*
|
9 |
Plugin Name: Optimize Database after Deleting Revisions
|
@@ -11,7 +11,7 @@ Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-rev
|
|
11 |
Description: Optimizes the Wordpress Database after Cleaning it out
|
12 |
Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
|
13 |
Author URI: http://cagewebdev.com
|
14 |
-
Version: 3.1.
|
15 |
*/
|
16 |
|
17 |
/********************************************************************************************
|
@@ -40,6 +40,20 @@ function rvg_add_menu_page()
|
|
40 |
add_action( 'admin_menu', 'rvg_add_menu_page' );
|
41 |
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
/********************************************************************************************
|
44 |
*
|
45 |
* SHOW A LINK TO THE PLUGIN SETTINGS ON THE MAIN PLUGINS PAGE (v3.1)
|
@@ -290,11 +304,8 @@ function schedule_changed()
|
|
290 |
<h2><?php echo __('Using Optimize Database after Deleting Revisions', 'rvg-optimize-database'); ?></h2>
|
291 |
<blockquote>
|
292 |
<p class="odb-bold">'<span class="odb-italic">Optimize Database after Deleting Revisions</span> ' <?php echo __('is an one-click plugin to clean and optimize your WordPress database','rvg-optimize-database');?></p>
|
293 |
-
<p><?php echo __('To start the optimization:','rvg-optimize-database');?><br />
|
294 |
-
<?php echo __('<span class="odb-bold">WP Admin Panel</span> » <span class="odb-bold">Tools</span> » <span class="odb-bold">Optimize Database</span>. Then click the \'<span class="odb-bold">Start Optimization</span>\'-button. Et voila!','rvg-optimize-database');?><br />
|
295 |
-
<?php echo __('Note: if you use the Scheduler the Optimization will run automatically!','rvg-optimize-database');?>
|
296 |
<p><?php echo __('Plugin version:','rvg-optimize-database');?><br />
|
297 |
-
<span class="odb-bold">v<?php echo $odb_version ?> (<?php echo $odb_release_date?>)</span
|
298 |
<p><span class="odb-bold"><?php echo __('Author','rvg-optimize-database');?>:</span><br />
|
299 |
<span class="odb-bold"><a href="http://cagewebdev.com/" target="_blank">CAGE Web Design</a> | <a href="http://rvg.cage.nl/" target="_blank">Rolf van Gelder</a></span>, Eindhoven, <?php echo __('The Netherlands','rvg-optimize-database');?><br />
|
300 |
<span class="odb-bold"><?php echo __('Plugin URL:','rvg-optimize-database');?></class><br />
|
1 |
<?php
|
2 |
+
$odb_version = '3.1.2';
|
3 |
$odb_release_date = '02/20/2015';
|
4 |
/**
|
5 |
* @package Optimize Database after Deleting Revisions
|
6 |
+
* @version 3.1.2
|
7 |
*/
|
8 |
/*
|
9 |
Plugin Name: Optimize Database after Deleting Revisions
|
11 |
Description: Optimizes the Wordpress Database after Cleaning it out
|
12 |
Author: CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands
|
13 |
Author URI: http://cagewebdev.com
|
14 |
+
Version: 3.1.2
|
15 |
*/
|
16 |
|
17 |
/********************************************************************************************
|
40 |
add_action( 'admin_menu', 'rvg_add_menu_page' );
|
41 |
|
42 |
|
43 |
+
/********************************************************************************************
|
44 |
+
|
45 |
+
ADD THE 'OPTIMIZE DB SETTINGS' ITEM TO THE SETTINGS MENU
|
46 |
+
|
47 |
+
*********************************************************************************************/
|
48 |
+
function rvg_odb_admin_menu()
|
49 |
+
{
|
50 |
+
if (function_exists('add_options_page'))
|
51 |
+
{ add_options_page(__('Optimize DB Settings'), __('Optimize DB Settings','rvg-optimize-database'), 'manage_options', 'rvg_odb_admin', 'rvg_odb_settings_page');
|
52 |
+
}
|
53 |
+
}
|
54 |
+
add_action( 'admin_menu', 'rvg_odb_admin_menu' );
|
55 |
+
|
56 |
+
|
57 |
/********************************************************************************************
|
58 |
*
|
59 |
* SHOW A LINK TO THE PLUGIN SETTINGS ON THE MAIN PLUGINS PAGE (v3.1)
|
304 |
<h2><?php echo __('Using Optimize Database after Deleting Revisions', 'rvg-optimize-database'); ?></h2>
|
305 |
<blockquote>
|
306 |
<p class="odb-bold">'<span class="odb-italic">Optimize Database after Deleting Revisions</span> ' <?php echo __('is an one-click plugin to clean and optimize your WordPress database','rvg-optimize-database');?></p>
|
|
|
|
|
|
|
307 |
<p><?php echo __('Plugin version:','rvg-optimize-database');?><br />
|
308 |
+
<span class="odb-bold">v<?php echo $odb_version ?> (<?php echo $odb_release_date?>)</span></p>
|
309 |
<p><span class="odb-bold"><?php echo __('Author','rvg-optimize-database');?>:</span><br />
|
310 |
<span class="odb-bold"><a href="http://cagewebdev.com/" target="_blank">CAGE Web Design</a> | <a href="http://rvg.cage.nl/" target="_blank">Rolf van Gelder</a></span>, Eindhoven, <?php echo __('The Netherlands','rvg-optimize-database');?><br />
|
311 |
<span class="odb-bold"><?php echo __('Plugin URL:','rvg-optimize-database');?></class><br />
|