Ticket #47589: 47589.diff
File 47589.diff, 417 bytes (added by , 6 years ago) |
---|
-
src/wp-cron.php
diff --git a/src/wp-cron.php b/src/wp-cron.php index 7853e79e96..d9a2c94072 100644
a b foreach ( $crons as $timestamp => $cronhooks ) { 117 117 118 118 $schedule = $v['schedule']; 119 119 120 if ( !$schedule ) {120 if ( $schedule ) { 121 121 $new_args = array( $timestamp, $schedule, $hook, $v['args'] ); 122 122 call_user_func_array( 'wp_reschedule_event', $new_args ); 123 123 }