[wp-trac] [WordPress Trac] #12958: locate_template restricts the use of get_template_part

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 11 17:20:23 UTC 2010


#12958: locate_template restricts the use of get_template_part
-------------------------+--------------------------------------------------
 Reporter:  w3prodigy    |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Themes       |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by nacin):

 the _once seems historical: [2023]. That said, simply changing it could
 cause some themes to display multiple headers due to multiple calls to
 get_header(), etc.

 No problems adding a $require_once parameter.

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


More information about the wp-trac mailing list