Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f47ebf8582
commit
6c0b1d6a5f
|
@ -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