diff --git a/src/wp-cron.php b/src/wp-cron.php
index ca478e4c46..595a6a87e1 100644
|
a
|
b
|
$gmt_time = microtime( true );
|
| 81 | 81 | // The cron lock: a unix timestamp from when the cron was spawned. |
| 82 | 82 | $doing_cron_transient = get_transient( 'doing_cron' ); |
| 83 | 83 | |
| 84 | | // Use global $doing_wp_cron lock otherwise use the GET lock. If no lock, trying grabbing a new lock. |
| | 84 | // Use global $doing_wp_cron lock otherwise, use the GET lock. If no lock, try to grab a new lock. |
| 85 | 85 | if ( empty( $doing_wp_cron ) ) { |
| 86 | 86 | if ( empty( $_GET['doing_wp_cron'] ) ) { |
| 87 | 87 | // Called from external script/job. Try setting a lock. |