[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
Wed Nov 16 23:26:02 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  |
------------------------------+----------------------
Changes (by nacin):

 * status:  reopened => closed
 * resolution:   => wontfix
 * milestone:  3.3 =>


Comment:

 We could, but get_template_part() is a higher level function, and there's
 been talk about adding more useful arguments like $folder.

 This was designed as a simple internal abstraction, but it's not a perfect
 match. Closing.

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


More information about the wp-trac mailing list