Changeset 4509
- Timestamp:
- 11/21/2006 02:48:12 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-cron.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-cron.php
r4424 r4509 6 6 if ( $_GET['check'] != md5(DB_PASS . '187425') ) 7 7 exit; 8 9 if ( get_option('doing_cron') > time() ) 10 exit; 11 12 update_option('doing_cron', time() + 30); 8 13 9 14 $crons = _get_cron_array(); … … 15 20 foreach ($cronhooks as $hook => $keys) { 16 21 foreach ($keys as $key => $args) { 17 do_action_ref_array($hook, $args['args']);18 22 $schedule = $args['schedule']; 19 23 if ($schedule != false) { … … 22 26 } 23 27 wp_unschedule_event($timestamp, $hook, $args['args']); 28 do_action_ref_array($hook, $args['args']); 24 29 } 25 30 } 26 31 } 32 33 update_option('doing_cron', 0); 34 27 35 ?>
Note: See TracChangeset
for help on using the changeset viewer.