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:
Andrew Nacin 2014-04-24 19:55:17 +00:00
parent 07e6c72972
commit 3b0cc6d419
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}