Fix warning in wp_ob_end_flush_all(). Props richcon. fixes #5109
git-svn-id: http://svn.automattic.com/wordpress/trunk@11020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b692a1f322
commit
e511111837
|
@ -2657,7 +2657,9 @@ function wp_widgets_add_menu() {
|
||||||
* @since 2.2.0
|
* @since 2.2.0
|
||||||
*/
|
*/
|
||||||
function wp_ob_end_flush_all() {
|
function wp_ob_end_flush_all() {
|
||||||
while ( @ob_end_flush() );
|
$levels = ob_get_level();
|
||||||
|
for ($i=0; $i<$levels; $i++)
|
||||||
|
ob_end_flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue