[wp-trac] [WordPress Trac] #21506: Standard Theme Hooks

WordPress Trac noreply at wordpress.org
Thu Feb 21 19:30:03 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):

 If I were to create a THA patch for Twenty Thirteen, what would be
 preference be: naked `do_action()` calls in the template (e.g. `do_action(
 'post_after' ), or template tag wrappers with "standard" names (e.g.
 `wp_post_after()`), vis a vis `wp_head()` and `wp_footer()`?

 The former would require no core changes, but might be less intuitive. The
 latter would be more intuitive and would perhaps facilitate adoption as a
 standard, but would require a corresponding core patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21506#comment:54>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list