[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
Thu Oct 16 19:45:36 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):
Replying to [comment:73 swissspidy]:
> @westonruter FYI there's this new deprecation on PHP 8.5:
Unit test issue fixed by [60945].
We should better handle content being printed while applying
`wp_template_enhancement_output_buffer` filters. Probably most common case
here would be filter callbacks that have some logic which results in
`_doing_it_wrong()` or `wp_trigger_error()` being called, while
`WP_DEBUG_DISPLAY` is enabled. I've also opened the #64108 defect ticket
to address this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43258#comment:76>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list