mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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();
|
$cache[ $args['widget_id'] ] = ob_get_flush();
|
||||||
wp_cache_set( 'widget_recent_posts', $cache, 'widget' );
|
wp_cache_set( 'widget_recent_posts', $cache, 'widget' );
|
||||||
} else {
|
} else {
|
||||||
ob_flush();
|
ob_end_flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user