[wp-trac] [WordPress Trac] #15061: Allow either array or string to be passed to locate_template

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 12 12:28:01 UTC 2010


#15061: Allow either array or string to be passed to locate_template
------------------------------------+---------------------------------------
 Reporter:  chrisbliss18            |        Owner:  scribu
     Type:  enhancement             |       Status:  closed
 Priority:  normal                  |    Milestone:  3.1   
Component:  Template                |      Version:        
 Severity:  minor                   |   Resolution:  fixed 
 Keywords:  has-patch dev-reviewed  |  
------------------------------------+---------------------------------------

Comment(by hakre):

 Two different functions because that are two different responsibilities.

 BTW introduction functions is not that bad as some folks think.

 Regarding the (array) casts, this is a PHP 5.2 topic.

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


More information about the wp-trac mailing list