[wp-trac] [WordPress Trac] #22430: wp_ob_end_flush_all bug when zlib.output_compression = On

WordPress Trac noreply at wordpress.org
Tue Aug 13 11:04:27 UTC 2019


#22430: wp_ob_end_flush_all bug when zlib.output_compression = On
-----------------------------+-----------------------
 Reporter:  Matthias Reuter  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  General          |     Version:  2.8
 Severity:  major            |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------

Comment (by bobbingwide):

 I've recently noticed this where my hosting ( TSOhost ) have switched to
 PHP 7.3 and have set `zlib.output_compression=on` by default, and where my
 sites have WP_DEBUG true.

 Is it not possible to detect the PHP ini setting and not attach the
 `wp_ob_end_flush_all` filter function to `shutdown` when it's set?

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


More information about the wp-trac mailing list