From a2d7c3fa58ebaac35fbba1e851f8568adbaafa61 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 17 Mar 2015 23:37:58 +0000 Subject: [PATCH] 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 --- src/wp-cron.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/wp-cron.php b/src/wp-cron.php index 6ce1a3da9a..75379a053c 100644 --- a/src/wp-cron.php +++ b/src/wp-cron.php @@ -26,7 +26,16 @@ if ( !defined('ABSPATH') ) { 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() { global $wpdb;