Recent Posts Widget: Use ob_end_flush() instead of ob_flush().
Merges [28195] to the 3.9 branch. props m_i_n. fixes #28009. Built from https://develop.svn.wordpress.org/branches/3.9@28196 git-svn-id: http://core.svn.wordpress.org/branches/3.9@28026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
07e6c72972
commit
3b0cc6d419
|
@ -732,7 +732,7 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
|||
$cache[ $args['widget_id'] ] = ob_get_flush();
|
||||
wp_cache_set( 'widget_recent_posts', $cache, 'widget' );
|
||||
} else {
|
||||
ob_flush();
|
||||
ob_end_flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue