WordPress.org

Make WordPress Core

Changeset 6168


Ignore:
Timestamp:
09/25/07 23:28:02 (7 years ago)
Author:
ryan
Message:

Set TEST_COOKIE for SITECOOKIEPATH. see #5076

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r6131 r6168  
    2323//Set a cookie now to see if they are supported by the browser. 
    2424setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN); 
     25if ( SITECOOKIEPATH != COOKIEPATH ) 
     26    setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN); 
    2527 
    2628// Rather than duplicating this HTML all over the place, we'll stick it in function 
Note: See TracChangeset for help on using the changeset viewer.