[wp-trac] [WordPress Trac] #63168: Coding Standards fixes for WP 6.9
WordPress Trac
noreply at wordpress.org
Mon Oct 13 21:37:20 UTC 2025
#63168: Coding Standards fixes for WP 6.9
--------------------------------------+-------------------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by peterwilsoncc):
In [changeset:"60927" 60927]:
{{{
#!CommitTicketReference repository="" revision="60927"
Coding Standards: Rename abbreviated variables in `WP_Query`.
Renames the locally scoped references to `WP_Query::$query_vars` from
`$q`/`$qv` to `$query_vars` for clarity per the coding standards'
[https://developer.wordpress.org/coding-standards/wordpress-coding-
standards/php/#naming-conventions naming conventions]:
> Don’t abbreviate variable names unnecessarily; let the code be
unambiguous and self-documenting.
See #63168.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63168#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list