From 7a73dfbfb6772c522cbb98f9dbf456e7f592defc Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 18 Sep 2015 10:21:26 +0000 Subject: [PATCH] Docs: Fix some syntactical isses in the DocBlock for `get_queried_object()`. Also add descriptions for the return and the `WP_Query` global. See #32246. Built from https://develop.svn.wordpress.org/trunk@34285 git-svn-id: http://core.svn.wordpress.org/trunk@34249 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 8 +++++--- wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index 5b666a5b31..00b6fd5fe6 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -29,14 +29,16 @@ function get_query_var( $var, $default = '' ) { } /** - * Retrieve the currently-queried object. Wrapper for $wp_query->get_queried_object() + * Retrieve the currently-queried object. + * + * Wrapper for WP_Query::get_queried_object(). * * @since 3.1.0 * @access public * - * @global WP_Query $wp_query + * @global WP_Query $wp_query Global WP_Query instance. * - * @return object + * @return object Queried object. */ function get_queried_object() { global $wp_query; diff --git a/wp-includes/version.php b/wp-includes/version.php index 1caeaa76a3..063114c9e2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34284'; +$wp_version = '4.4-alpha-34285'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.