WordPress.org

Make WordPress Core

Changeset 1415


Ignore:
Timestamp:
06/11/2004 07:34:26 PM (14 years ago)
Author:
rboren
Message:

Handle https URLs when manipulating COOKIEPATH. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/vars.php

    r1237 r1415  
    174174
    175175// Path for cookies
    176 define('COOKIEPATH', preg_replace('|http://[^/]+|i', '', get_settings('home') . '/' ) );
     176define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) );
    177177
    178178// Some default filters
Note: See TracChangeset for help on using the changeset viewer.