[wp-trac] [WordPress Trac] #56663: `tag_escape()` does not follow naming convention.
WordPress Trac
noreply at wordpress.org
Tue Sep 27 03:08:33 UTC 2022
#56663: `tag_escape()` does not follow naming convention.
------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Keywords:
Focuses: coding-standards |
------------------------------+-----------------------------
In WordPress, escaping functions generally use the naming convention
`esc_thing()`.
The `tag_escape()` function and it's associated hook do not. Is it worth
renaming each to either `esc_tag` or the more precise `esc_html_tag`?
There is some [https://wpdirectory.net/search/01GDYE8DKXN527KR6GDA24HCE2
use within the plugin repository] but not a huge amount.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56663>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list