diff options
Diffstat (limited to 'wp-pass.php')
-rw-r--r-- | wp-pass.php | 4 |
1 files changed, 2 insertions, 2 deletions
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()); +?> |