mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-30 16:17:56 +02:00
Set TEST_COOKIE for SITECOOKIEPATH. see #5076
git-svn-id: http://svn.automattic.com/wordpress/trunk@6168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
15372a22b6
commit
65b2b51b63
@ -22,6 +22,8 @@ if ( defined('RELOCATE') ) { // Move flag is set
|
|||||||
|
|
||||||
//Set a cookie now to see if they are supported by the browser.
|
//Set a cookie now to see if they are supported by the browser.
|
||||||
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
|
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
|
// Rather than duplicating this HTML all over the place, we'll stick it in function
|
||||||
function login_header($title = 'Login', $message = '') {
|
function login_header($title = 'Login', $message = '') {
|
||||||
|
Loading…
Reference in New Issue
Block a user