Make WordPress Core


Ignore:
Timestamp:
05/07/2004 11:21:31 PM (22 years ago)
Author:
saxmatt
Message:

Fix for cookie paths being set correctly when using a different home setting. Refactored comments-post.

File:
1 edited

Legend:

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

    r1179 r1237  
    173173}
    174174
     175// Path for cookies
     176define('COOKIEPATH', preg_replace('|http://[^/]+|i', '', get_settings('home') . '/' ) );
    175177
    176178// Some default filters
Note: See TracChangeset for help on using the changeset viewer.