[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable
WordPress Trac
noreply at wordpress.org
Wed Oct 21 21:40:16 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 strider72):
Replying to [comment:71 nacin]:
> As I've also argued previously (elsewhere, apparently), a huge benefit
of the template hierarchy in WordPress is that it's predictable. You can
open up any theme and understand how it works. It's one of the most
important and easy-to-understand concepts in WordPress.
There's potential for a developer plugin here. Imagine a plugin that shows
a list, at the top of any given page, of all the templates being loaded
for the current page. It would be a perfect complement to this patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13239#comment:94>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list