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

WordPress Trac noreply at wordpress.org
Wed Sep 21 01:08:07 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:  needs-dev-note has-patch commit  |     Focuses:  performance
---------------------------------------------+--------------------------
Changes (by peterwilsoncc):

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


Comment:

 In [changeset:"54270" 54270]:
 {{{
 #!CommitTicketReference repository="" revision="54270"
 Themes: Relocate actions firing prior to and after template loading.

 This relocates the actions `wp_before_load_template` and
 `wp_after_load_template` to fire within the `load_template()` function.

 Prior to this change the actions fired in the `locate_template()`
 function.

 Follow up to [53560].

 Props johnjamesjacoby, johnbillion.
 Fixes #54541.
 }}}

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


More information about the wp-trac mailing list