WordPress.org

Make WordPress Core

Changeset 34287


Ignore:
Timestamp:
09/18/2015 10:28:41 AM (4 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/query.php

    r34286 r34287  
    5252 *
    5353 * @since 3.1.0
    54  * @access public
    5554 *
    5655 * @global WP_Query $wp_query Global WP_Query instance.
     
    6867 * @since 2.2.0
    6968 *
    70  * @global WP_Query $wp_query
     69 * @global WP_Query $wp_query Global WP_Query instance.
    7170 *
    7271 * @param string $var   Query variable key.
    73  * @param mixed  $value
     72 * @param mixed  $value Query variable value.
    7473 */
    7574function set_query_var( $var, $value ) {
Note: See TracChangeset for help on using the changeset viewer.