Add a missing DocBlock for the core utility function _get_cron_lock()
.
Props mordauk, valendesigns. Fixes #31646. git-svn-id: https://develop.svn.wordpress.org/trunk@31804 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b9cb22f888
commit
a2d7c3fa58
@ -26,7 +26,16 @@ if ( !defined('ABSPATH') ) {
|
|||||||
require_once( dirname( __FILE__ ) . '/wp-load.php' );
|
require_once( dirname( __FILE__ ) . '/wp-load.php' );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Uncached doing_cron transient fetch
|
/**
|
||||||
|
* Retrieves the cron lock.
|
||||||
|
*
|
||||||
|
* Returns the uncached `doing_cron` transient.
|
||||||
|
*
|
||||||
|
* @ignore
|
||||||
|
* @since 3.3.0
|
||||||
|
*
|
||||||
|
* @return string|false Value of the `doing_cron` transient, 0|false otherwise.
|
||||||
|
*/
|
||||||
function _get_cron_lock() {
|
function _get_cron_lock() {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user