[wp-trac] [WordPress Trac] #20287: Load header and footer template files using hooks

WordPress Trac noreply at wordpress.org
Fri Jan 30 18:23:41 UTC 2015


#20287: Load header and footer template files using hooks
-------------------------+------------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  1.5
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  template
-------------------------+------------------------------

Comment (by obenland):

 [attachment:20287.1.diff] looks incomplete, @MikeHansenMe.

 @johnbillion: Should the `get_(header|footer)` action be moved inside the
 load functions? They're currently being used in a context where template
 loading happens immediately afterwards. I'd also suspect that in most
 cases where you wouldn't want header of footer to be loaded, you wouldn't
 want these actions to fire either.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20287#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list