Ticket #17462: 17462.2.diff
File 17462.2.diff, 791 bytes (added by , 12 years ago) |
---|
-
wp-cron.php
53 53 wp_unschedule_event($timestamp, $hook, $v['args']); 54 54 55 55 do_action_ref_array($hook, $v['args']); 56 57 if ( $local_time + 300 < time() ) 58 break 3; 56 59 } 57 60 } 58 61 } 59 62 63 delete_transient( 'doing_cron' ); 64 60 65 die(); -
wp-includes/cron.php
210 210 $flag = 0; 211 211 212 212 // don't run if another process is currently running it or more than once every 60 sec. 213 if ( $flag + 60 > $local_time )213 if ( $flag + 360 > $local_time ) 214 214 return; 215 215 216 216 //sanity check