Make WordPress Core


Ignore:
Timestamp:
08/04/2019 01:58:03 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $wp_query and $wp_the_query globals.

Props mukesh27.
See #45604, #47110.

File:
1 edited

Legend:

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

    r45737 r45739  
    11141114 *
    11151115 * @global WP       $wp           Current WordPress environment instance.
    1116  * @global WP_Query $wp_query
    1117  * @global WP_Query $wp_the_query
     1116 * @global WP_Query $wp_query     WordPress Query object.
     1117 * @global WP_Query $wp_the_query Copy of the WordPress Query object.
    11181118 *
    11191119 * @param string|array $query_vars Default WP_Query arguments.
     
    13791379 * @since 2.1.0
    13801380 *
    1381  * @global WP_Query $wp_query Used to tell if the use a comment feed.
     1381 * @global WP_Query $wp_query WordPress Query object.
    13821382 */
    13831383function do_feed() {
     
    29672967 * @since 5.1.0 The `$link_url`, `$link_text`, and `$exit` arguments were added.
    29682968 *
    2969  * @global WP_Query $wp_query Global WP_Query instance.
     2969 * @global WP_Query $wp_query WordPress Query object.
    29702970 *
    29712971 * @param string|WP_Error  $message Optional. Error message. If this is a WP_Error object,
Note: See TracChangeset for help on using the changeset viewer.