From efc08d508e7da68a1d96a3e0c2010b08d3543f47 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 18 Sep 2015 10:28:41 +0000 Subject: [PATCH] Docs: Fix some syntactical issues in the DocBlock for `set_query_var()`. Adds descriptions for the global `WP_Query` instance and the `$value` parameter. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@34287 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/query.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/query.php b/src/wp-includes/query.php index e0f7639531..a645ecab02 100644 --- a/src/wp-includes/query.php +++ b/src/wp-includes/query.php @@ -51,7 +51,6 @@ function get_queried_object() { * Wrapper for WP_Query::get_queried_object_id(). * * @since 3.1.0 - * @access public * * @global WP_Query $wp_query Global WP_Query instance. * @@ -67,10 +66,10 @@ function get_queried_object_id() { * * @since 2.2.0 * - * @global WP_Query $wp_query + * @global WP_Query $wp_query Global WP_Query instance. * * @param string $var Query variable key. - * @param mixed $value + * @param mixed $value Query variable value. */ function set_query_var( $var, $value ) { global $wp_query;