[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
Tue Sep 13 17:57:04 UTC 2011


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

Comment (by scribu):

 {{{
 if ( 'header' == $slug || 'sidebar' == $slug || 'footer' == $slug )
     do_action( "get_$slug", $name );
 }}}

 I don't see any benefit in that.

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


More information about the wp-trac mailing list