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

WordPress Trac noreply at wordpress.org
Sat May 4 11:09:26 UTC 2013


#13239: Filter locate_template template_names variable
---------------------------------+-----------------------
 Reporter:  chrisbliss18         |       Owner:
     Type:  enhancement          |      Status:  reopened
 Priority:  normal               |   Milestone:  3.6
Component:  Themes               |     Version:  3.0
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.3-early  |
---------------------------------+-----------------------

Comment (by DrewAPicture):

 [attachment:13239.2.diff] refreshes @coffee2code's 13239.6.patch. I also
 swapped out `STYLESHEETPATH` and `TEMPLATEPATH` for
 `get_stylesheet_directory()` and `get_template_directory()` respectively.

 The filter introduced with 13239.2.diff works as expected.

 Would be nice to get this in for 3.6, even if we end up taking a more far-
 reaching approach in the future in #22355.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13239#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list