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.

Built from https://develop.svn.wordpress.org/trunk@34287


git-svn-id: http://core.svn.wordpress.org/trunk@34251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-09-18 10:29:25 +00:00
parent 18adeb92fa
commit d870f4c9f9
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34286';
$wp_version = '4.4-alpha-34287';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.