WordPress.org

Make WordPress Core

Ticket #5076: sitecookie.diff

File sitecookie.diff, 535 bytes (added by ryan, 7 years ago)

Set TEST_COOKIE for SITECOOKIEPATH

  • wp-login.php

     
    2222 
    2323//Set a cookie now to see if they are supported by the browser. 
    2424setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); 
     25setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN); 
    2526 
    2627// Rather than duplicating this HTML all over the place, we'll stick it in function 
    2728function login_header($title = 'Login', $message = '') {