Make WordPress Core

Changeset 46733


Ignore:
Timestamp:
11/15/2019 08:57:03 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve a comment about $doing_wp_cron global in wp-cron.php.

Props chinteshprajapati, subrataemfluence, nielslange.
Fixes #46104.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-cron.php

    r46458 r46733  
    8787$doing_cron_transient = get_transient( 'doing_cron' );
    8888
    89 // Use global $doing_wp_cron lock otherwise use the GET lock. If no lock, trying grabbing a new lock.
     89// Use global $doing_wp_cron lock, otherwise use the GET lock. If no lock, try to grab a new lock.
    9090if ( empty( $doing_wp_cron ) ) {
    9191    if ( empty( $_GET['doing_wp_cron'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.