[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 8 18:32:23 UTC 2011
#13239: Filter locate_template template_names variable
---------------------------------+-----------------------------
Reporter: chrisbliss18 | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch 3.3-early |
---------------------------------+-----------------------------
Changes (by mikeschinkel):
* cc: mikeschinkel@… (added)
Comment:
Replying to [comment:1 nacin]:
> I have spoken about this extensively with apeatling and jjj. We may be
able to add a specific, targeted hook, or introduce a function or argument
that exposes filters. But, I do not like the idea of "generic" filters
that will run over and over again, especially against an area of the API
that has so many file_exists checks and filters already running, so you
can do nearly anything you want.
It may be moot by now in that this idea might be accepted, but we are
running into situations where we really need for hook functionality in
`load_template()`, so +1 to adding more hooks here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13239#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list