Cron: Fix undefined variable notice.

Restore `$gmt_time` variable removed in error from [44483].

Props afragen.
Fixes #45870.


Built from https://develop.svn.wordpress.org/trunk@44505


git-svn-id: http://core.svn.wordpress.org/trunk@44336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2019-01-09 08:37:51 +00:00
parent f88769fc3b
commit 184c501d5c
2 changed files with 3 additions and 1 deletions

View File

@ -76,6 +76,8 @@ if ( empty( $crons ) ) {
die();
}
$gmt_time = microtime( true );
// The cron lock: a unix timestamp from when the cron was spawned.
$doing_cron_transient = get_transient( 'doing_cron' );

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44504';
$wp_version = '5.1-alpha-44505';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.