[wp-trac] [WordPress Trac] #21062: Add a 'template_file' hook to load_template()

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 19 03:40:19 UTC 2012


#21062: Add a 'template_file' hook to load_template()
------------------------------------+------------------------------
 Reporter:  mikeschinkel            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Template                |     Version:  3.4
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by nacin):

 I'm weary of adding hooks into load_template() and locate_template()
 without careful consideration, which are covered by a few other tickets.
 In this case, get_included_files() should be enough for debugging, yes?

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


More information about the wp-trac mailing list