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

WordPress Trac noreply at wordpress.org
Thu Jul 23 10:52:23 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 aristath):

 The above patch adds a 'locate_template' filter to the 'locate_template'
 function. So basically it's just line 514 on
 https://core.trac.wordpress.org/attachment/ticket/13239/template.php.diff
 The rest is just applying WordPress Coding standards to that function...

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


More information about the wp-trac mailing list