Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: https://develop.svn.wordpress.org/trunk@1917 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f88772008d
commit
017dfb115b
@ -492,7 +492,6 @@ case 'deletecomment':
|
||||
} else {
|
||||
header('Location: '. get_settings('siteurl') .'/wp-admin/edit.php?p='.$p.'&c=1#comments');
|
||||
}
|
||||
clear_smarty_cache();
|
||||
|
||||
break;
|
||||
|
||||
|
@ -14,7 +14,7 @@ $query_vars = array();
|
||||
if ((isset($_GET['error']) && $_GET['error'] == '404') ||
|
||||
((! empty($_SERVER['PATH_INFO'])) &&
|
||||
('/' != $_SERVER['PATH_INFO']) &&
|
||||
(false === strpos($_SERVER['PATH_INFO'], $_SERVER['SCRIPT_NAME']))
|
||||
(false === strpos($_SERVER['PATH_INFO'], $_SERVER['PHP_SELF']))
|
||||
)) {
|
||||
|
||||
// If we match a rewrite rule, this will be cleared.
|
||||
|
Loading…
Reference in New Issue
Block a user