diff --git a/src/wp-cron.php b/src/wp-cron.php
index ca478e4..1d848c3 100644
a
|
b
|
if ( empty( $doing_wp_cron ) ) { |
88 | 88 | if ( $doing_cron_transient && ( $doing_cron_transient + WP_CRON_LOCK_TIMEOUT > $gmt_time ) ) { |
89 | 89 | return; |
90 | 90 | } |
91 | | $doing_cron_transient = $doing_wp_cron = sprintf( '%.22F', microtime( true ) ); |
| 91 | $doing_wp_cron = sprintf( '%.22F', microtime( true ) ); |
| 92 | $doing_cron_transient = $doing_wp_cron; |
92 | 93 | set_transient( 'doing_cron', $doing_wp_cron ); |
93 | 94 | } else { |
94 | 95 | $doing_wp_cron = $_GET['doing_wp_cron']; |
… |
… |
foreach ( $crons as $timestamp => $cronhooks ) { |
114 | 115 | |
115 | 116 | $schedule = $v['schedule']; |
116 | 117 | |
117 | | if ( $schedule != false ) { |
| 118 | if ( ! $schedule ) { |
118 | 119 | $new_args = array( $timestamp, $schedule, $hook, $v['args'] ); |
119 | 120 | call_user_func_array( 'wp_reschedule_event', $new_args ); |
120 | 121 | } |