[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable

WordPress Trac noreply at wordpress.org
Fri Apr 1 19:58:22 UTC 2016


#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 aristath):

 > the fact of the matter is, six years later, we still can't get basic
 template files out of the root of our themes

 +1.

 Well, technically we can... but we have to use hacky methods and just
 ignore the "WordPress way" (simply because there isn't one).

 > I will gladly put some hours in if we can come to the consensus that
 this is something we want.

 I can afford a couple of hours too... Though I don't think that coding it
 is the issue here.
 We've got the people and we've got the skills. The actual code & docs
 won't take more than half an hour to write (ok, maybe an hour if we
 include writing unit tests etc). What we lack is communication and a core
 commiter to step in and say "Yes, let's do this".

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13239#comment:98>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list