WordPress.org

Make WordPress Core

Ticket #22430: 22430.patch

File 22430.patch, 478 bytes (added by openwrite, 21 months ago)
  • src/wp-includes/functions.php

     
    44574457 * @since 2.2.0
    44584458 */
    44594459function wp_ob_end_flush_all() {
     4460        $start = (int) ini_get('zlib.output_compression');
    44604461        $levels = ob_get_level();
    4461         for ( $i = 0; $i < $levels; $i++ ) {
     4462        for ( $i = $start; $i < $levels; $i++ ) {
    44624463                ob_end_flush();
    44634464        }
    44644465}