diff --git a/wp-cron.php b/wp-cron.php index d9a2c94072..1a944c216e 100644 --- a/wp-cron.php +++ b/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'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b4203b2413..d716eb6850 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46141'; +$wp_version = '5.3-alpha-46142'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.