Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: https://develop.svn.wordpress.org/trunk@5354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fe2887b40d
commit
176a6414e9
@ -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'] )
|
||||
|
Loading…
Reference in New Issue
Block a user