diff --git a/src/wp-cron.php b/src/wp-cron.php index 7853e79e96..d9a2c94072 100644 --- a/src/wp-cron.php +++ b/src/wp-cron.php @@ -117,7 +117,7 @@ foreach ( $crons as $timestamp => $cronhooks ) { $schedule = $v['schedule']; - if ( ! $schedule ) { + if ( $schedule ) { $new_args = array( $timestamp, $schedule, $hook, $v['args'] ); call_user_func_array( 'wp_reschedule_event', $new_args ); }