[wp-trac] [WordPress Trac] #18331: Make get_header(), get_sidebar() and get_footer() use get_template_part()

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 17 23:50:17 UTC 2011


#18331: Make get_header(), get_sidebar() and get_footer() use get_template_part()
------------------------------+----------------------
 Reporter:  Viper007Bond      |       Owner:
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Template          |     Version:  3.2.1
 Severity:  normal            |  Resolution:  wontfix
 Keywords:  has-patch commit  |
------------------------------+----------------------

Comment (by chipbennett):

 Replying to [comment:34 Viper007Bond]:
 > Replying to [comment:33 chipbennett]:
 > > Ryan, can you provide an example? I'm extremely curious why a Theme
 would need/want to call `get_header()` twice.
 >
 > It shouldn't be, but it's being done anyway. ;)

 So, not that I disagree with the `wontfix` ticket resolution (I have no
 real stake in the matter), but I do wonder ''why'' we would decide that
 resolution based on what is essentially a '''_doing_it_wrong()''' action?

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


More information about the wp-trac mailing list