Exit after redirect.

git-svn-id: https://develop.svn.wordpress.org/trunk@4468 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-11-15 00:02:28 +00:00
parent 2aeba54363
commit 4b228e44c9
4 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ case 'editedcomment':
$location = ( empty($_POST['referredby']) ? "edit.php?p=$comment_post_ID&c=1" : $_POST['referredby'] ) . '#comment-' . $comment_ID;
$location = apply_filters('comment_edit_redirect', $location, $comment_ID);
wp_redirect($location);
exit();
break;
default:
break;