Make WordPress Core

Changeset 6167


Ignore:
Timestamp:
09/25/2007 11:17:30 PM (16 years ago)
Author:
ryan
Message:

Set TEST_COOKIE for SITECOOKIEPATH. see #5076

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/wp-login.php

    r6131 r6167  
    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.