WP Crontrol - Version 1.0-beta3

Version Description

Download this release

Release Info

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

Code changes from version 1.0-beta2 to 1.0-beta3

Files changed (1) hide show
  1. wp-crontrol.php +3 -3
wp-crontrol.php CHANGED
@@ -4,7 +4,7 @@
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-beta1
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 49090 2008-06-04 13:43:50Z scompt $
36
  * @link http://www.scompt.com/projects/wp-crontrol
37
  * @since 0.2
38
  */
@@ -419,7 +419,7 @@ class Crontrol {
419
  $other_fields .= '<input name="original_hookname" type="hidden" value="'. $existing['hookname'] .'" />';
420
  $other_fields .= '<input name="original_sig" type="hidden" value="'. $existing['sig'] .'" />';
421
  $other_fields .= '<input name="original_next_run" type="hidden" value="'. $existing['next_run'] .'" />';
422
- $existing['args'] = $is_php ? $existing['args']['code'] : htmlentities($this->json->encode($existing['args']));
423
  $existing['next_run'] = strftime("%D %T", $existing['next_run']);
424
  $action = $is_php ? 'edit_php_cron' : 'edit_cron';
425
  $button = $is_php ? __('Modify PHP Cron Entry', 'crontrol') : __('Modify Cron Entry', '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
  * @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
  */
419
  $other_fields .= '<input name="original_hookname" type="hidden" value="'. $existing['hookname'] .'" />';
420
  $other_fields .= '<input name="original_sig" type="hidden" value="'. $existing['sig'] .'" />';
421
  $other_fields .= '<input name="original_next_run" type="hidden" value="'. $existing['next_run'] .'" />';
422
+ $existing['args'] = $is_php ? htmlentities($existing['args']['code']) : htmlentities($this->json->encode($existing['args']));
423
  $existing['next_run'] = strftime("%D %T", $existing['next_run']);
424
  $action = $is_php ? 'edit_php_cron' : 'edit_cron';
425
  $button = $is_php ? __('Modify PHP Cron Entry', 'crontrol') : __('Modify Cron Entry', 'crontrol');