mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Cron: Fix undefined variable notice.
Restore `$gmt_time` variable removed in error from [44483]. Props afragen. Fixes #45870. git-svn-id: https://develop.svn.wordpress.org/trunk@44505 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user