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'] )