From b916e8c727fa8b65a17db289ff3b36bb78e3db0f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 5 Jul 2017 09:19:43 +0000 Subject: [PATCH] Docs: Add a `@global` entry for `$wp` in `redirect_canonical()`. Props afzalmultani. See #41238. Built from https://develop.svn.wordpress.org/trunk@41003 git-svn-id: http://core.svn.wordpress.org/trunk@40853 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/canonical.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php index 11c513d31a..dfa6ec515d 100644 --- a/wp-includes/canonical.php +++ b/wp-includes/canonical.php @@ -32,6 +32,7 @@ * @global bool $is_IIS * @global WP_Query $wp_query * @global wpdb $wpdb WordPress database abstraction object. + * @global WP $wp Current WordPress environment instance. * * @param string $requested_url Optional. The URL that was requested, used to * figure if redirect is needed. diff --git a/wp-includes/version.php b/wp-includes/version.php index d5850e54cb..a50962b5f6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41002'; +$wp_version = '4.9-alpha-41003'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.