Set TEST_COOKIE for SITECOOKIEPATH. see #5076
git-svn-id: https://develop.svn.wordpress.org/trunk@6168 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a1dccaa866
commit
e90c361011
@ -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 = '') {
|
||||
|
Loading…
Reference in New Issue
Block a user