diff --git a/wp-admin/auth.php b/wp-admin/auth.php index d63f3084a3..c6b8176580 100644 --- a/wp-admin/auth.php +++ b/wp-admin/auth.php @@ -7,7 +7,7 @@ if ( !empty($_COOKIE['wordpressuser_' . COOKIEHASH]) && !wp_login($_COOKIE['word header('Cache-Control: no-cache, must-revalidate'); header('Pragma: no-cache'); - header('Location: ' . get_settings('siteurl') . '/wp-login.php?redirect_to=' . urlencode($_SERVER['REQUEST_URI']); + header('Location: ' . get_settings('siteurl') . '/wp-login.php?redirect_to=' . urlencode($_SERVER['REQUEST_URI'])); exit(); }