[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable
WordPress Trac
noreply at wordpress.org
Thu Jul 23 19:57:21 UTC 2015
#13239: Filter locate_template template_names variable
-------------------------+-----------------------------
Reporter: chrisjean | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by coreyw):
Replying to [comment:90 aristath]:
That looks good @aristath. For the alternate suggestion (inside the
foreach), I would pass `$template_name` (singular) instead of
`$template_names` though. Thanks for creating these diffs. Hopefully they
will be included soon.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13239#comment:91>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list