[wp-trac] [WordPress Trac] #64126: Sending late HTTP headers not facilitated by template enhancement output buffer

WordPress Trac noreply at wordpress.org
Sat Nov 1 04:44:37 UTC 2025


#64126: Sending late HTTP headers not facilitated by template enhancement output
buffer
--------------------------------------+--------------------------
 Reporter:  westonruter               |       Owner:  westonruter
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.9
Component:  General                   |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"61111" 61111]:
 {{{
 #!CommitTicketReference repository="" revision="61111"
 General: Rename `wp_send_late_headers` action to
 `wp_finalized_template_enhancement_output_buffer`.

 Also update docs for `wp_finalized_template_enhancement_output_buffer`
 action and `wp_template_enhancement_output_buffer` filter to warn against
 attempting to open an output buffer in callbacks or else a PHP fatal error
 will occur.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10443

 Follow-up to [61088], [60936].

 Props westonruter, dmsnell.
 See #43258.
 Fixes #64126.
 }}}

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


More information about the wp-trac mailing list