[wp-trac] [WordPress Trac] #56448: Use meaningful variable name for $c in WP_Users_List_Table class
WordPress Trac
noreply at wordpress.org
Sun Aug 28 22:28:38 UTC 2022
#56448: Use meaningful variable name for $c in WP_Users_List_Table class
-------------------------+---------------------
Reporter: burhandodhy | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.1
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+---------------------
Comment (by SergeyBiryukov):
Replying to [comment:5 Presskopp]:
> Is this part of a policy?
I think it falls under this recommendation in
[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.
There have been some efforts to use more meaningful names for some of the
older variables like this as part of general coding standards fixes in
tickets like #55647, so I would welcome any further fixes, preferably in
separate PRs per file, for easier review.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56448#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list