From 37a04795b29e74096b402ba5576ebd66bf775d4f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Jul 2017 12:56:43 +0000 Subject: [PATCH] Docs: Add a `@global` entry for `$wpdb` in `_get_cron_lock`. Props tejas5989. Fixes #41433. Built from https://develop.svn.wordpress.org/trunk@41146 git-svn-id: http://core.svn.wordpress.org/trunk@40986 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-cron.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-cron.php b/wp-cron.php index 15c6676b77..f73d354444 100644 --- a/wp-cron.php +++ b/wp-cron.php @@ -34,6 +34,8 @@ if ( !defined('ABSPATH') ) { * @ignore * @since 3.3.0 * + * @global wpdb $wpdb WordPress database abstraction object. + * * @return string|false Value of the `doing_cron` transient, 0|false otherwise. */ function _get_cron_lock() { diff --git a/wp-includes/version.php b/wp-includes/version.php index 74d2028c20..1e53e8ab6e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41145'; +$wp_version = '4.9-alpha-41146'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.