[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 01:43:59 UTC 2010
#15061: Allow either array or string to be passed to locate_template
--------------------------+-------------------------------------------------
Reporter: chrisbliss18 | Owner: scribu
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.1
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Comment(by nacin):
hakre's points aside, the function is specifically designed to find a
template given a list of templates, so I've always felt that the
requirement for an array is not at all burdensome.
I don't see the need for a new function, but I don't see the need for the
cast either.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15061#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list