mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
More cookie catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2726 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+4
-4
@@ -165,10 +165,10 @@ default:
|
||||
$user_pass = $_POST['pwd'];
|
||||
$redirect_to = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $_POST['redirect_to']);
|
||||
} elseif ( !empty($_COOKIE) ) {
|
||||
if (! empty($_COOKIE['wordpressuser_' . COOKIEHASH]) )
|
||||
$user_login = $_COOKIE['wordpressuser_' . COOKIEHASH];
|
||||
if (! empty($_COOKIE['wordpresspass_' . COOKIEHASH]) ) {
|
||||
$user_pass = $_COOKIE['wordpresspass_' . COOKIEHASH];
|
||||
if (! empty($_COOKIE[USER_COOKIE]) )
|
||||
$user_login = $_COOKIE[USER_COOKIE];
|
||||
if (! empty($_COOKIE[PASS_COOKIE]) ) {
|
||||
$user_pass = $_COOKIE[PASS_COOKIE];
|
||||
$using_cookie = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user