Make WordPress Core

Changeset 11020


Ignore:
Timestamp:
04/20/2009 08:35:31 PM (16 years ago)
Author:
ryan
Message:

Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r11013 r11020  
    26582658 */
    26592659function wp_ob_end_flush_all() {
    2660     while ( @ob_end_flush() );
     2660    $levels = ob_get_level();
     2661    for ($i=0; $i<$levels; $i++)
     2662        ob_end_flush();
    26612663}
    26622664
Note: See TracChangeset for help on using the changeset viewer.