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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 11 06:51:10 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  |  
------------------------------------+---------------------------------------
Changes (by westi):

  * keywords:  has-patch => has-patch dev-reviewed


Comment:

 Supporting a string here is a good idea.
 Changing to two separate functions is just pointless

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


More information about the wp-trac mailing list