Skip to content

Commit

Permalink
Docs: Correct $wp_the_query global reference in `WP_Query::is_main_…
Browse files Browse the repository at this point in the history
…query()`.

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

See #59651.

git-svn-id: https://develop.svn.wordpress.org/trunk@57195 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Dec 17, 2023
1 parent deda757 commit 59947c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -4661,7 +4661,7 @@ public function is_embed() {
*
* @since 3.3.0
*
* @global WP_Query $wp_query WordPress Query object.
* @global WP_Query $wp_the_query WordPress Query object.
*
* @return bool Whether the query is the main query.
*/
Expand Down

0 comments on commit 59947c5

Please sign in to comment.