diff --git a/wp-cron.php b/wp-cron.php index 7853e79e96..d9a2c94072 100644 --- a/wp-cron.php +++ b/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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index c73301f508..c7d245b350 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45561'; +$wp_version = '5.3-alpha-45562'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.