From b57b0bd70ee58cdbdeb69ef6f135197ea83ba2aa Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 27 Oct 2003 07:21:45 +0000 Subject: [PATCH] Refer comment editing back to correct page. git-svn-id: https://develop.svn.wordpress.org/trunk@489 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/wp-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/wp-post.php b/wp-admin/wp-post.php index 212142a553..7e4951534a 100644 --- a/wp-admin/wp-post.php +++ b/wp-admin/wp-post.php @@ -404,7 +404,7 @@ switch($action) { WHERE comment_ID = $comment_ID" ); - $referredby = $HTTP_SERVER_VARS['HTTP_REFERER']; + $referredby = $HTTP_POST_VARS['referredby']; if (!empty($referredby)) header('Location: ' . $referredby); else header ("Location: edit.php?p=$comment_post_ID&c=1#comments");