From 3a735ec87af655d53838819939bf56efc6e9646e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 15 Nov 2019 08:59:01 +0000 Subject: [PATCH] Docs: Improve a comment about `$doing_wp_cron` global in `wp-cron.php`. Props chinteshprajapati, subrataemfluence, nielslange. Fixes #46104. Built from https://develop.svn.wordpress.org/trunk@46733 git-svn-id: http://core.svn.wordpress.org/trunk@46533 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-cron.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-cron.php b/wp-cron.php index d3ab354eda..73b4bfd49e 100644 --- a/wp-cron.php +++ b/wp-cron.php @@ -86,7 +86,7 @@ $gmt_time = microtime( true ); // The cron lock: a unix timestamp from when the cron was spawned. $doing_cron_transient = get_transient( 'doing_cron' ); -// Use global $doing_wp_cron lock otherwise use the GET lock. If no lock, trying grabbing a new lock. +// Use global $doing_wp_cron lock, otherwise use the GET lock. If no lock, try to grab a new lock. if ( empty( $doing_wp_cron ) ) { if ( empty( $_GET['doing_wp_cron'] ) ) { // Called from external script/job. Try setting a lock. diff --git a/wp-includes/version.php b/wp-includes/version.php index ca317df707..c8ec12eeff 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46732'; +$wp_version = '5.4-alpha-46733'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.