[wp-trac] [WordPress Trac] #21506: Standard Theme Hooks
WordPress Trac
noreply at wordpress.org
Fri Feb 22 14:51:21 UTC 2013
#21506: Standard Theme Hooks
---------------------------+------------------------------
Reporter: mfields | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------
Comment (by chipbennett):
Details of attached patch:
* I started with the THA hooks, and changed the prefix from `tha_` to
`wp_`.
* I ''excluded'' the `the_head_top` and `tha_head_bottom` hooks, as these
are covered by `wp_head`
* I ''renamed'' the `tha_html_before` hook as `wp_doctype`
* I ''renamed'' the `tha_entry_*` hooks as `wp_post_*`
* I ''renamed'' the `tha_sidebars_*` hooks as `wp_sidebar_*`
* Total hooks added (25):
* Doctype (1)
* Body (2) - top/bottom
* Header (4) - before/top/bottom/after
* Content (4) - before/top/bottom/after
* Post (4) - before/top/bottom/after
* Comments (2) - before/after
* Sidebar (4) - before/top/bottom/after
* Footer (4) - before/top/bottom/after
I would like to get a yea/nay on this step, before trying to integrate
into the default Themes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21506#comment:60>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list