WP Crontrol - Version 1.0

Version Description

Download this release

Release Info

Developer scompt
Plugin Icon 128x128 WP Crontrol
Version 1.0
Comparing to
See all releases

Code changes from version 1.0-beta3 to 1.0

Files changed (2) hide show
  1. readme.txt +3 -3
  2. wp-crontrol.php +12 -3
readme.txt CHANGED
@@ -2,15 +2,15 @@
2
  Contributors: scompt
3
  Donate link: http://scompt.com/projects/wp-crontrol
4
  Tags: admin, cron, plugin, control
5
- Requires at least: 2.1
6
  Tested up to: 2.5.1
7
- Stable tag: 0.3
8
 
9
  WP-Crontrol lets you take control over what's happening in the WP-Cron system.
10
 
11
  == Description ==
12
 
13
- WP-Crontrol lets you take control over what's happening in the WP-Cron system.
14
 
15
  == Installation ==
16
 
2
  Contributors: scompt
3
  Donate link: http://scompt.com/projects/wp-crontrol
4
  Tags: admin, cron, plugin, control
5
+ Requires at least: 2.2
6
  Tested up to: 2.5.1
7
+ Stable tag: 1.0
8
 
9
  WP-Crontrol lets you take control over what's happening in the WP-Cron system.
10
 
11
  == Description ==
12
 
13
+ WP-Crontrol lets you take control over what's happening in the WP-Cron system. See my series on [Taking control of WP-Cron using WP-Crontrol](http://scompt.com/archives/series/taking-control-of-wp-cron-using-wp-crontrol) for usage ideas.
14
 
15
  == Installation ==
16
 
wp-crontrol.php CHANGED
@@ -2,9 +2,9 @@
2
  /*
3
  * Plugin Name: WP-Crontrol
4
  * Plugin URI: http://www.scompt.com/projects/wp-crontrol
5
- * Description: WP-Crontrol lets you take control over what's happening in the WP-Cron system.
6
  * Author: Edward Dale
7
- * Version: 1.0-beta3
8
  * Author URI: http://www.scompt.com
9
  */
10
 
@@ -32,7 +32,7 @@
32
  * @author Edward Dale <scompt@scompt.com>
33
  * @copyright Copyright 2007 Edward Dale
34
  * @license http://www.gnu.org/licenses/gpl.txt GPL 2.0
35
- * @version $Id: wp-crontrol.php 49094 2008-06-04 13:50:01Z scompt $
36
  * @link http://www.scompt.com/projects/wp-crontrol
37
  * @since 0.2
38
  */
@@ -613,6 +613,7 @@ class Crontrol {
613
  }
614
  }
615
 
 
616
  if( !function_exists('json_encode' ) ) {
617
  if( !class_exists('Services_JSON') )
618
  require_once('JSON.php');
@@ -639,6 +640,14 @@ if( !function_exists('json_encode' ) ) {
639
  }
640
  }
641
  }
 
 
 
 
 
 
 
 
642
  // Get this show on the road
643
  new Crontrol();
644
  ?>
2
  /*
3
  * Plugin Name: WP-Crontrol
4
  * Plugin URI: http://www.scompt.com/projects/wp-crontrol
5
+ * Description: WP-Crontrol lets you take control over what's happening in the WP-Cron system. See my series on <a target="_blank" href="http://scompt.com/archives/series/taking-control-of-wp-cron-using-wp-crontrol">Taking control of WP-Cron using WP-Crontrol</a> for usage ideas.
6
  * Author: Edward Dale
7
+ * Version: 1.0
8
  * Author URI: http://www.scompt.com
9
  */
10
 
32
  * @author Edward Dale <scompt@scompt.com>
33
  * @copyright Copyright 2007 Edward Dale
34
  * @license http://www.gnu.org/licenses/gpl.txt GPL 2.0
35
+ * @version $Id: wp-crontrol.php 49327 2008-06-06 09:08:48Z scompt $
36
  * @link http://www.scompt.com/projects/wp-crontrol
37
  * @since 0.2
38
  */
613
  }
614
  }
615
 
616
+ // PHP4 doesn't have json_encode built-in.
617
  if( !function_exists('json_encode' ) ) {
618
  if( !class_exists('Services_JSON') )
619
  require_once('JSON.php');
640
  }
641
  }
642
  }
643
+
644
+ // WordPress <2.5 doesn't have this function, so we provide it if needed
645
+ if( !function_exists(__ngettext_noop) ) {
646
+ function __ngettext_noop($single, $plural, $number=1, $domain = 'default') {
647
+ return array($single, $plural);
648
+ }
649
+ }
650
+
651
  // Get this show on the road
652
  new Crontrol();
653
  ?>