mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-12 18:42:03 +01:00
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 ) {
|
if ( $options != $newoptions ) {
|
||||||
$options = $newoptions;
|
$options = $newoptions;
|
||||||
update_option('widget_recent_comments', $options);
|
update_option('widget_recent_comments', $options);
|
||||||
delete_recent_comments_cache();
|
wp_delete_recent_comments_cache();
|
||||||
}
|
}
|
||||||
$title = htmlspecialchars($options['title'], ENT_QUOTES);
|
$title = htmlspecialchars($options['title'], ENT_QUOTES);
|
||||||
if ( !$number = (int) $options['number'] )
|
if ( !$number = (int) $options['number'] )
|
||||||
|
Loading…
Reference in New Issue
Block a user