[wp-trac] [WordPress Trac] #47032: Rename wp_body_open hook and function
WordPress Trac
noreply at wordpress.org
Thu Apr 25 02:18:59 UTC 2019
#47032: Rename wp_body_open hook and function
-------------------------+-----------------------
Reporter: rilwis | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Themes | Version: trunk
Severity: normal | Resolution: wontfix
Keywords: | Focuses: template
-------------------------+-----------------------
Changes (by pento):
* keywords: dev-feedback 2nd-opinion needs-dev-note =>
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Thank you for the suggestion, @rilwis!
The THA link is interesting, but doesn't seem to have gained much traction
since its proposal.
There are quite a few different naming forms that are scattered throughout
the WordPress codebase. The `*_top` form of hook name appears, as does
`post_*_tag`, `*_tag`, `*_tag_pre`, `pre_*`... you get the idea. 🙂
Outside of a substantial re-architecture of our hook naming scheme, I
don't think it's necessary to try and lock into a particular format for
new hooks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47032#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list