From 176a6414e98648f404abc5c59fa4fa1f0f507571 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 30 Apr 2007 16:45:23 +0000 Subject: [PATCH] Fix typo breaking recent comment cache deletion for widgets. git-svn-id: https://develop.svn.wordpress.org/trunk@5354 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 86c1c8fd96..0782e464f2 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -687,7 +687,7 @@ function wp_widget_recent_comments_control() { if ( $options != $newoptions ) { $options = $newoptions; update_option('widget_recent_comments', $options); - delete_recent_comments_cache(); + wp_delete_recent_comments_cache(); } $title = htmlspecialchars($options['title'], ENT_QUOTES); if ( !$number = (int) $options['number'] )