Optimize Database after Deleting Revisions - Version 1.0.4

Version Description

No Upgrade Notice available.

Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

readme.txt CHANGED
@@ -8,9 +8,9 @@ Tags: wp, database, delete, revisions, optimize, posts, pages
8
  Author URI: http://cagewebdev.com
9
  Author: Rolf van Gelder
10
  Requires at least: 2.0
11
- Tested up to: 3.3
12
- Stable tag: 1.0.3
13
- Version: 1.0.3
14
 
15
  == Description ==
16
 
@@ -39,6 +39,7 @@ No Screenshots available.
39
  <p><b>1.0.1</b> 11/24/2011 A few updates for the readme.txt file</p>
40
  <p><b>1.0.2</b> 12/02/2011 Some minor updates</p>
41
  <p><b>1.0.3</b> 12/15/2011 Some minor layout updates</p>
 
42
 
43
  == Frequently Asked Questions ==
44
 
8
  Author URI: http://cagewebdev.com
9
  Author: Rolf van Gelder
10
  Requires at least: 2.0
11
+ Tested up to: 3.3.2
12
+ Stable tag: 1.0.4
13
+ Version: 1.0.4
14
 
15
  == Description ==
16
 
39
  <p><b>1.0.1</b> 11/24/2011 A few updates for the readme.txt file</p>
40
  <p><b>1.0.2</b> 12/02/2011 Some minor updates</p>
41
  <p><b>1.0.3</b> 12/15/2011 Some minor layout updates</p>
42
+ <p><b>1.0.4</b> 06/06/2012 Now also works with non short_open_tag's</p>
43
 
44
  == Frequently Asked Questions ==
45
 
rvg-optimize-db.php CHANGED
@@ -1,15 +1,15 @@
1
  <?php
2
- $version = '1.0.3';
3
  /**
4
  * @package Optimize Database after Deleting Revisions
5
- * @version 1.0.3
6
  */
7
  /*
8
  Plugin Name: Optimize Database after Deleting Revisions
9
  Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/
10
  Description: Optimizes the Wordpress Database after Deleting Revisions
11
  Author: Rolf van Gelder
12
- Version: 1.0.3
13
  Author URI: http://cagewebdev.com
14
  */
15
  ?><?php
@@ -50,9 +50,9 @@ function rvg_optimize_db()
50
  $post_title = str_replace('--><!--','--> | <!--',$results[$i]->post_title);
51
  ?>
52
  <tr valign="top">
53
- <td align="right" style="font-weight:bold;"><?=($i+1)?></td>
54
- <td><?=$results[$i]->post_modified?></td>
55
- <td style="font-weight:bold;"><?=$post_title?></td>
56
  </tr>
57
  <?php
58
  }
@@ -88,9 +88,9 @@ function rvg_optimize_db()
88
  # print_r($result);
89
  ?>
90
  <tr>
91
- <td style="font-weight:bold;"><?=$Tables[$i]->$Tables_in_DB_NAME?></td>
92
  <td style="font-weight:bold;">=&gt;</td>
93
- <td><?=$result[0]->Msg_text?></td>
94
  </tr>
95
  <?php
96
  }
1
  <?php
2
+ $version = '1.0.4';
3
  /**
4
  * @package Optimize Database after Deleting Revisions
5
+ * @version 1.0.4
6
  */
7
  /*
8
  Plugin Name: Optimize Database after Deleting Revisions
9
  Plugin URI: http://cagewebdev.com/index.php/optimize-database-after-deleting-revisions-wordpress-plugin/
10
  Description: Optimizes the Wordpress Database after Deleting Revisions
11
  Author: Rolf van Gelder
12
+ Version: 1.0.4
13
  Author URI: http://cagewebdev.com
14
  */
15
  ?><?php
50
  $post_title = str_replace('--><!--','--> | <!--',$results[$i]->post_title);
51
  ?>
52
  <tr valign="top">
53
+ <td align="right" style="font-weight:bold;"><?php echo ($i+1) ?></td>
54
+ <td><?php echo $results[$i]->post_modified ?></td>
55
+ <td style="font-weight:bold;"><?php echo $post_title ?></td>
56
  </tr>
57
  <?php
58
  }
88
  # print_r($result);
89
  ?>
90
  <tr>
91
+ <td style="font-weight:bold;"><?php echo $Tables[$i]->$Tables_in_DB_NAME ?></td>
92
  <td style="font-weight:bold;">=&gt;</td>
93
+ <td><?php echo $result[0]->Msg_text ?></td>
94
  </tr>
95
  <?php
96
  }
trunk/readme.txt CHANGED
@@ -9,8 +9,8 @@ Author URI: http://cagewebdev.com
9
  Author: Rolf van Gelder, Eindhoven, The Netherlands
10
  Requires at least: 2.0
11
  Tested up to: 3.4.1
12
- Stable tag: 1.1.3
13
- Version: 1.1.3
14
 
15
  == Description ==
16
 
@@ -46,7 +46,7 @@ No Screenshots available.
46
  <p><b>1.1</b> 08/29/2012 Added: a new option page, in de plugins section, where you can define the maximum number of - most recent - revisions you want to keep per post or page</p>
47
  <p><b>1.1.2</b> 08/30/2012 Minor bug fix for the new option page</p>
48
  <p><b>1.1.3</b> 09/01/2012 Moved the 'Optimize DB Options' item to Dashboard 'Settings' Menu and the 'Optimize Database' item to the Dashboard 'Tools' Menu. That makes more sense!</p>
49
-
50
  == Frequently Asked Questions ==
51
 
52
  <p><b>Q:</b> <em>How can I change the settings of this plugin?</em></p>
9
  Author: Rolf van Gelder, Eindhoven, The Netherlands
10
  Requires at least: 2.0
11
  Tested up to: 3.4.1
12
+ Stable tag: 1.1.4
13
+ Version: 1.1.4
14
 
15
  == Description ==
16
 
46
  <p><b>1.1</b> 08/29/2012 Added: a new option page, in de plugins section, where you can define the maximum number of - most recent - revisions you want to keep per post or page</p>
47
  <p><b>1.1.2</b> 08/30/2012 Minor bug fix for the new option page</p>
48
  <p><b>1.1.3</b> 09/01/2012 Moved the 'Optimize DB Options' item to Dashboard 'Settings' Menu and the 'Optimize Database' item to the Dashboard 'Tools' Menu. That makes more sense!</p>
49
+ <p><b>1.1.4</b> 09/01/2012 Something went wrong deploying 1.1.3, so I deployed it again as 1.1.4</p>
50
  == Frequently Asked Questions ==
51
 
52
  <p><b>Q:</b> <em>How can I change the settings of this plugin?</em></p>
trunk/rvg-optimize-db.php CHANGED
@@ -1,16 +1,16 @@
1
  <?php
2
- $version = '1.1.3';
3
  $release_date = '09/01/2012';
4
  /**
5
  * @package Optimize Database after Deleting Revisions
6
- * @version 1.1.3
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 Deleting Revisions - <a href="plugins.php?page=rvg_odb_admin"><strong>plug in options</strong></a>
12
  Author: Rolf van Gelder, Eindhoven, The Netherlands
13
- Version: 1.1.3
14
  Author URI: http://cagewebdev.com
15
  */
16
  ?>
1
  <?php
2
+ $version = '1.1.4';
3
  $release_date = '09/01/2012';
4
  /**
5
  * @package Optimize Database after Deleting Revisions
6
+ * @version 1.1.4
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 Deleting Revisions - <a href="plugins.php?page=rvg_odb_admin"><strong>plug in options</strong></a>
12
  Author: Rolf van Gelder, Eindhoven, The Netherlands
13
+ Version: 1.1.4
14
  Author URI: http://cagewebdev.com
15
  */
16
  ?>