mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-01 00:10:36 +01:00
Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fedf5da324
commit
a2b6757246
@ -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