Fix a phpdoc typo and multi-line comment syntax in wp-cron.php.
Props rclations. Fixes #28231. Built from https://develop.svn.wordpress.org/trunk@28380 git-svn-id: http://core.svn.wordpress.org/trunk@28208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b110c7f887
commit
f9f55011ba
|
@ -32,8 +32,10 @@ function _get_cron_lock() {
|
|||
|
||||
$value = 0;
|
||||
if ( wp_using_ext_object_cache() ) {
|
||||
// Skip local cache and force refetch of doing_cron transient in case
|
||||
// another processs updated the cache
|
||||
/*
|
||||
* Skip local cache and force re-fetch of doing_cron transient
|
||||
* in case another process updated the cache.
|
||||
*/
|
||||
$value = wp_cache_get( 'doing_cron', 'transient', true );
|
||||
} else {
|
||||
$row = $wpdb->get_row( $wpdb->prepare( "SELECT option_value FROM $wpdb->options WHERE option_name = %s LIMIT 1", '_transient_doing_cron' ) );
|
||||
|
|
Loading…
Reference in New Issue