[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 09:15:04 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 swissspidy):

 @westonruter FYI there's this new deprecation on PHP 8.5:

 {{{
 3)
 Tests_Template::test_wp_start_template_enhancement_output_buffer_for_html
 ob_end_flush(): Producing output from user output handler
 wp_finalize_template_enhancement_output_buffer is deprecated

 /var/www/tests/phpunit/tests/template.php:629
 }}}

 See https://github.com/WordPress/wordpress-
 develop/actions/runs/18555139782/job/52890684405#step:14:562

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


More information about the wp-trac mailing list