WordPress.org

Make WordPress Core

Ticket #27122: functions.diff

File functions.diff, 431 bytes (added by dunglas, 5 years ago)

wp-includes/functions.php patch

  • functions.php

     
    27852785 * @since 2.2.0
    27862786 */
    27872787function wp_ob_end_flush_all() {
     2788    if (function_exists('fastcgi_finish_request')) {
     2789        fastcgi_finish_request();
     2790
     2791        return;
     2792    }
     2793
    27882794        $levels = ob_get_level();
    27892795        for ($i=0; $i<$levels; $i++)
    27902796                ob_end_flush();