Changeset 4953 for trunk/wp-includes/cron.php
- Timestamp:
- 02/27/2007 03:24:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r4834 r4953 55 55 function wp_clear_scheduled_hook( $hook ) { 56 56 $args = array_slice( func_get_args(), 1 ); 57 57 58 58 while ( $timestamp = wp_next_scheduled( $hook, $args ) ) 59 59 wp_unschedule_event( $timestamp, $hook, $args ); … … 74 74 function spawn_cron() { 75 75 $crons = _get_cron_array(); 76 76 77 77 if ( !is_array($crons) ) 78 78 return; 79 79 80 80 $keys = array_keys( $crons ); 81 81 if ( array_shift( $keys ) > time() ) … … 99 99 100 100 $crons = _get_cron_array(); 101 101 102 102 if ( !is_array($crons) ) 103 103 return;
Note: See TracChangeset
for help on using the changeset viewer.