Ticket #46104: #46104.patch
File #46104.patch, 641 bytes (added by , 6 years ago) |
---|
-
wp-cron.php
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 grabbinga new lock.84 // Use global $doing_wp_cron lock otherwise use the GET lock. If no lock, trying 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.