Changeset 3522
- Timestamp:
- 02/13/06 05:30:44 (3 years ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions.php
r3517 r3522 2358 2358 2359 2359 function wp_cron() { 2360 if (array_shift(array_keys(get_option('cron'))) > time()) 2360 $crons = get_option('cron'); 2361 if (!is_array($crons) || array_shift(array_keys($crons)) > time()) 2361 2362 return; 2362 2363 2363 $crons = get_option('cron');2364 $newcrons = $crons;2365 2364 foreach ($crons as $timestamp => $cronhooks) { 2366 2365 if ($timestamp > time()) break;
