[wp-trac] [WordPress Trac] #56846: All test classes that use the "wp" prefix should be renamed for consistency
WordPress Trac
noreply at wordpress.org
Sat Oct 22 01:56:17 UTC 2022
#56846: All test classes that use the "wp" prefix should be renamed for consistency
---------------------------+-------------------------------
Reporter: antonvlasenko | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.1
Severity: minor | Resolution:
Keywords: | Focuses: coding-standards
---------------------------+-------------------------------
Comment (by costdev):
I don't have any strong feelings on the "right" decision on this, except
that we achieve consistency.
`wp` is more common, although that does show that people haven't been
paying attention to the handbook - a problem in itself.
I see two options for consistency:
1. Use `Wp` to be consistent with the handbook and other classes in the
test suite.
2. Make `wp` consistent for test classes that start with those letters.
Note: This would make these classes an exception, and therefore
''inconsistent'' with the handbook and other classes in the test suite.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56846#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list