[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
Fri Sep 16 11:01:34 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:  3.3
Component:  Template          |     Version:  3.2.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------

Comment (by westi):

 Replying to [comment:24 scribu]:
 > Or we could just leave them as is.
 >
 > Adding a helper function to save one line of code isn't good for
 readability or performance.
 >

 Agreed - I was just pointing how I would implement it if we did not that I
 advocate doing it.

 > I think we're done here.

 Agreed

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


More information about the wp-trac mailing list