diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 7ed15e2ac2..421ada4c4a 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -864,10 +864,12 @@ function wp_widget_categories_upgrade() { } function wp_widget_recent_entries($args) { - if ( $output = wp_cache_get('widget_recent_entries', 'widget') ) - return print($output); + if ( '%BEG_OF_TITLE%' != $args['before_title'] ) { + if ( $output = wp_cache_get('widget_recent_entries', 'widget') ) + return print($output); + ob_start(); + } - ob_start(); extract($args); $options = get_option('widget_recent_entries'); $title = empty($options['title']) ? __('Recent Posts') : $options['title']; @@ -892,7 +894,9 @@ function wp_widget_recent_entries($args) {