summaryrefslogtreecommitdiffstats
path: root/wp-pass.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-pass.php')
-rw-r--r--wp-pass.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-pass.php b/wp-pass.php
index 170d429..da6b27e 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(wp_get_referer());
+wp_safe_redirect(wp_get_referer());
?>