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