From 6fda2e67b0fe3872cbf5f82b58b98f2a4c96d8f8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 1 Jul 2017 22:13:41 +0000 Subject: [PATCH] Docs: Add a `@global` entry for `$wp_filter` in `wp_start_object_cache()`. Props bhaveshkhadodara. Fixes #41222. Built from https://develop.svn.wordpress.org/trunk@40992 git-svn-id: http://core.svn.wordpress.org/trunk@40842 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/load.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index 241398387f..63a4b0f64c 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -470,6 +470,8 @@ function wp_using_ext_object_cache( $using = null ) { * * @since 3.0.0 * @access private + * + * @global array $wp_filter Stores all of the filters. */ function wp_start_object_cache() { global $wp_filter; diff --git a/wp-includes/version.php b/wp-includes/version.php index 256fd29b19..5a1e1dd7e9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40991'; +$wp_version = '4.9-alpha-40992'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.