summaryrefslogtreecommitdiffstats
path: root/wp-login.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-login.php')
-rw-r--r--wp-login.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-login.php b/wp-login.php
index f24f5ec..9eacdb0 100644
--- a/wp-login.php
+++ b/wp-login.php
@@ -22,6 +22,8 @@ if ( defined('RELOCATE') ) { // Move flag is set
//Set a cookie now to see if they are supported by the browser.
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
+if ( SITECOOKIEPATH != COOKIEPATH )
+ setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
// Rather than duplicating this HTML all over the place, we'll stick it in function
function login_header($title = 'Login', $message = '') {