Changes between Initial Version and Version 1 of Ticket #22430, comment 10
- Timestamp:
- 08/16/2019 05:02:20 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22430, comment 10
initial v1 1 1 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. 2 2 3 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? 3 Is it not possible to detect the PHP ini setting and not attach the `wp_ob_end_flush_all` action function to `shutdown` when it's set? 4 5 Or alter the function to do nothing. e.g. 6 {{{ 7 if ( ini_get( 'zlib.output_compression') ) { 8 return; 9 } 10 }}}