Changeset 3860
- Timestamp:
- 06/10/2006 08:43:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r3697 r3860 66 66 67 67 function spawn_cron() { 68 if ( array_shift( array_keys( get_option( 'cron' ) ) ) > time() ) 68 $keys = array_keys( get_option( 'cron' ) ); 69 if ( array_shift( $keys ) > time() ) 69 70 return; 70 71 … … 82 83 function wp_cron() { 83 84 $crons = get_option( 'cron' ); 84 if ( !is_array($crons) || array_shift( array_keys( $crons ) ) > time() ) 85 86 if ( !is_array($crons) ) 87 return; 88 89 $keys = array_keys( $crons ); 90 if ( array_shift( $keys ) > time() ) 85 91 return; 86 92
Note: See TracChangeset
for help on using the changeset viewer.