From f217f8c5d2d8148f4b7284849573e142199d7538 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 22 May 2015 20:05:25 +0000 Subject: [PATCH] Add missing doc blockss in `class-wp.php`. See #32444. Built from https://develop.svn.wordpress.org/trunk@32551 git-svn-id: http://core.svn.wordpress.org/trunk@32521 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp.php | 23 +++++++++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php index a079c122d5..efe77ad550 100644 --- a/wp-includes/class-wp.php +++ b/wp-includes/class-wp.php @@ -115,6 +115,8 @@ class WP { * * @since 2.0.0 * + * @global WP_Rewrite $wp_rewrite + * * @param array|string $extra_query_vars Set the extra query variables. */ public function parse_request($extra_query_vars = '') { @@ -488,13 +490,14 @@ class WP { * be taken when naming global variables that might interfere with the * WordPress environment. * - * @global string $query_string Query string for the loop. - * @global array $posts The found posts. + * @global WP_Query $wp_query + * @global string $query_string Query string for the loop. + * @global array $posts The found posts. * @global WP_Post|null $post The current post, if available. - * @global string $request The SQL statement for the request. - * @global int $more Only set, if single page or post. - * @global int $single If single page or post. Only set, if single page or post. - * @global WP_User $authordata Only set, if author archive. + * @global string $request The SQL statement for the request. + * @global int $more Only set, if single page or post. + * @global int $single If single page or post. Only set, if single page or post. + * @global WP_User $authordata Only set, if author archive. * * @since 2.0.0 */ @@ -533,6 +536,8 @@ class WP { * Set up the Loop based on the query variables. * * @since 2.0.0 + * + * @global WP_Query $wp_the_query */ public function query_posts() { global $wp_the_query; @@ -550,6 +555,8 @@ class WP { * Otherwise, issue a 200. * * @since 2.0.0 + * + * @global WP_Query $wp_query */ public function handle_404() { global $wp_query; @@ -621,7 +628,6 @@ class WP { */ do_action_ref_array( 'wp', array( &$this ) ); } - } /** @@ -678,7 +684,9 @@ class WP_MatchesMapRegex { * * static helper function to ease use * + * @static * @access public + * * @param string $subject subject * @param array $matches data used for substitution * @return string @@ -710,5 +718,4 @@ class WP_MatchesMapRegex { $index = intval(substr($matches[0], 9, -1)); return ( isset( $this->_matches[$index] ) ? urlencode($this->_matches[$index]) : '' ); } - } diff --git a/wp-includes/version.php b/wp-includes/version.php index a73ed10144..231f93cd5e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-alpha-32550'; +$wp_version = '4.3-alpha-32551'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.