Handle https URLs when manipulating COOKIEPATH. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000001
git-svn-id: https://develop.svn.wordpress.org/trunk@1415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5455a3f1af
commit
7c8e02accb
|
@ -173,7 +173,7 @@ foreach($wpsmiliestrans as $smiley => $img) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Path for cookies
|
// Path for cookies
|
||||||
define('COOKIEPATH', preg_replace('|http://[^/]+|i', '', get_settings('home') . '/' ) );
|
define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) );
|
||||||
|
|
||||||
// Some default filters
|
// Some default filters
|
||||||
add_filter('category_description', 'wptexturize');
|
add_filter('category_description', 'wptexturize');
|
||||||
|
|
Loading…
Reference in New Issue