WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22430, comment 13


Ignore:
Timestamp:
10/03/2019 06:47:34 PM (21 months ago)
Author:
openwrite
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22430, comment 13

    initial v1  
    1919
    2020My rationale was that when zlib.compression is on, the starting buffer level should always be treated as 1. This allows all additional buffers to be cleared and doesn't impact installs where zlib is off. There might be reasons I'm not aware of that would cause issues in other scenarios, but since putting this fix in place I haven't experienced any further issues.
     21
     22EDIT: Whilst the code comments suggest "wp_ob_end_flush_all" is only executed on php 5.2, I've found it executing on all versions up to and including 7.3.