Skip to content

Commit a28484d

Browse files
committed
Coding Standards: Rename abbreviated variable in WP_Query code comment.
This was missed as part of renaming `$q` to `$query_vars`. Follow-up to [60927]. Props westonruter. See #63168. git-svn-id: https://develop.svn.wordpress.org/trunk@61044 602fd350-edb4-49c9-b593-d223f7449a82
1 parent bd797e0 commit a28484d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/class-wp-query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ public function parse_tax_query( &$query_vars ) {
11801180

11811181
foreach ( get_taxonomies( array(), 'objects' ) as $taxonomy => $t ) {
11821182
if ( 'post_tag' === $taxonomy ) {
1183-
continue; // Handled further down in the $q['tag'] block.
1183+
continue; // Handled further down in the $query_vars['tag'] block.
11841184
}
11851185

11861186
if ( $t->query_var && ! empty( $query_vars[ $t->query_var ] ) ) {

0 commit comments

Comments
 (0)