[wp-trac] [WordPress Trac] #54541: Add actions to template loading to assist with collecting debug info

WordPress Trac noreply at wordpress.org
Thu Jun 23 18:57:39 UTC 2022


#54541: Add actions to template loading to assist with collecting debug info
-------------------------------------------------+-------------------------
 Reporter:  rmccue                               |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  dev-note commit                                |  performance
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53560" 53560]:
 {{{
 #!CommitTicketReference repository="" revision="53560"
 Themes: Add actions to template loading to assist with collecting debug
 info.

 This introduces the following new actions which wrap the process of
 loading a template file:

 * `wp_before_load_template`
 * `wp_after_load_template`

 Props rmccue, tabrisrp, peterwilsoncc

 Fixes #54541
 }}}

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


More information about the wp-trac mailing list