Optimize Database after Deleting Revisions - Version 2.7.7

Version Description

[02/16/2014] = * BUG FIX: made jQuery also https compatible

Download this release

Release Info

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

Code changes from version 2.7.6 to 2.7.7

Files changed (2) hide show
  1. readme.txt +6 -3
  2. rvg-optimize-db.php +10 -5
readme.txt CHANGED
@@ -7,9 +7,9 @@ Tags: database, delete, revisions, optimize, post, posts, page, pages, clean, cl
7
  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.8
11
- Stable tag: 2.7.6
12
- Version: 2.7.6
13
 
14
  == Description ==
15
 
@@ -54,6 +54,9 @@ No warranty, use at own risk!
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 2.7.6 [01/16/2014] =
58
  * BUG FIX: empty lines removed from output (gave problems with some RSS feeds)
59
 
7
  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.8.1
11
+ Stable tag: 2.7.7
12
+ Version: 2.7.7
13
 
14
  == Description ==
15
 
54
 
55
  == Changelog ==
56
 
57
+ = 2.7.7 [02/16/2014] =
58
+ * BUG FIX: made jQuery also https compatible
59
+
60
  = 2.7.6 [01/16/2014] =
61
  * BUG FIX: empty lines removed from output (gave problems with some RSS feeds)
62
 
rvg-optimize-db.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
- $odb_version = '2.7.6';
3
- $odb_release_date = '01/16/2014';
4
  /**
5
  * @package Optimize Database after Deleting Revisions
6
- * @version 2.7.6
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.6
14
  Author URI: http://cagewebdev.com
15
  */
16
 
@@ -105,7 +105,12 @@ function rvg_odb_options_page()
105
  $current_hour = substr($current_datetime, 8, 2);
106
 
107
  # jQuery FRAMEWORK
108
- echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>';
 
 
 
 
 
109
 
110
  # RVG_WP_ONLY IS DEPRECIATED FROM v2.2
111
  rvg_fix_wp_only();
1
  <?php
2
+ $odb_version = '2.7.7';
3
+ $odb_release_date = '02/16/2014';
4
  /**
5
  * @package Optimize Database after Deleting Revisions
6
+ * @version 2.7.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.7
14
  Author URI: http://cagewebdev.com
15
  */
16
 
105
  $current_hour = substr($current_datetime, 8, 2);
106
 
107
  # jQuery FRAMEWORK
108
+ if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
109
+ echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>';
110
+ }
111
+ else
112
+ { echo '<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>';
113
+ }
114
 
115
  # RVG_WP_ONLY IS DEPRECIATED FROM v2.2
116
  rvg_fix_wp_only();