WordPress.org

Make WordPress Core

Ticket #22239: 22239.diff

File 22239.diff, 645 bytes (added by dd32, 6 years ago)
  • wp-includes/functions.php

     
    1717 * be passed to date_i18n() for translation.
    1818 *
    1919 * @since 0.71
    20  *
     20 *ob
    2121 * @param string $format Format of the date to return.
    2222 * @param string $date Date string to convert.
    2323 * @param bool $translate Whether the return date should be translated. Default is true.
     
    26382638function wp_ob_end_flush_all() {
    26392639        $levels = ob_get_level();
    26402640        for ($i=0; $i<$levels; $i++)
    2641                 ob_end_flush();
     2641                @ob_end_flush();
    26422642}
    26432643
    26442644/**