[wp-trac] [WordPress Trac] #43258: Output buffer template rendering and add filter for post-processing (e.g. caching, optimization)
WordPress Trac
noreply at wordpress.org
Sat Nov 1 04:44:37 UTC 2025
#43258: Output buffer template rendering and add filter for post-processing (e.g.
caching, optimization)
-------------------------------------------------+-------------------------
Reporter: nextendweb | Owner:
| westonruter
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.9
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses: docs,
feedback needs-dev-note | performance
-------------------------------------------------+-------------------------
Comment (by westonruter):
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/43258#comment:87>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list