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

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 21:50:07 UTC 2010


#13239: Filter locate_template template_names variable
--------------------------+-------------------------------------------------
 Reporter:  chrisbliss18  |       Owner:            
     Type:  enhancement   |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Themes        |     Version:  3.0       
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
Changes (by nacin):

  * keywords:  has-patch commit tested => has-patch


Comment:

 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.

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


More information about the wp-trac mailing list