Make WordPress Core

Changeset 57195


Ignore:
Timestamp:
12/17/2023 02:46:38 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct $wp_the_query global reference in WP_Query::is_main_query().

Follow-up to [18699], [32620], [34337], [45739].

See #59651.

File:
1 edited

Legend:

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

    r56925 r57195  
    46624662     * @since 3.3.0
    46634663     *
    4664      * @global WP_Query $wp_query WordPress Query object.
     4664     * @global WP_Query $wp_the_query WordPress Query object.
    46654665     *
    46664666     * @return bool Whether the query is the main query.
Note: See TracChangeset for help on using the changeset viewer.