Cron: Fix condition reversed in [45559].
In [45559] a test for not-falsey was reversed to a falsey check. Props obenland. Fixes #47589. Built from https://develop.svn.wordpress.org/trunk@45562 git-svn-id: http://core.svn.wordpress.org/trunk@45373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
73ad55051b
commit
bb965baeec
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue