From 8cc330126b23fa75c6289fb9451b4932d042342d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 29 Jan 2008 23:28:58 +0000 Subject: [PATCH] Recent entries widget caching fixes from mdawaffe. git-svn-id: https://develop.svn.wordpress.org/trunk@6687 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/widgets.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index b34e7e5613..0a1df55924 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -848,7 +848,7 @@ function wp_widget_categories_upgrade() { } function wp_widget_recent_entries($args) { - if ( $output = wp_cache_get('widget_recent_entries') ) + if ( $output = wp_cache_get('widget_recent_entries', 'widget') ) return print($output); ob_start(); @@ -876,15 +876,16 @@ function wp_widget_recent_entries($args) {