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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 10 20:53:07 UTC 2010


#12958: locate_template restricts the use of get_template_part
-----------------------------+----------------------------------------------
 Reporter:  w3prodigy        |       Owner:                   
     Type:  feature request  |      Status:  new              
 Priority:  normal           |   Milestone:  Unassigned       
Component:  General          |     Version:                   
 Severity:  normal           |    Keywords:  reporter-feedback
-----------------------------+----------------------------------------------
Changes (by scribu):

  * keywords:  => reporter-feedback


Comment:

 locate_template() doesn't do any including or requiring; it just finds the
 first available file and returns it's path. So I'm not sure what you're
 refering to.

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


More information about the wp-trac mailing list