From a4383a13a1522aa6b9db861b732249d0a3897140 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 26 Jun 2006 15:40:12 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@595 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-pass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wp-pass.php') diff --git a/wp-pass.php b/wp-pass.php index d7d23a6..170d429 100644 --- a/wp-pass.php +++ b/wp-pass.php @@ -7,5 +7,5 @@ if ( get_magic_quotes_gpc() ) // 10 days setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH); -wp_redirect($_SERVER['HTTP_REFERER']); -?> \ No newline at end of file +wp_redirect(wp_get_referer()); +?> -- cgit