mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
Handle https URLs when manipulating COOKIEPATH. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000001
git-svn-id: http://svn.automattic.com/wordpress/trunk@1415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
71ec34d73e
commit
72a8403905
@ -173,7 +173,7 @@ foreach($wpsmiliestrans as $smiley => $img) {
|
||||
}
|
||||
|
||||
// Path for cookies
|
||||
define('COOKIEPATH', preg_replace('|http://[^/]+|i', '', get_settings('home') . '/' ) );
|
||||
define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) );
|
||||
|
||||
// Some default filters
|
||||
add_filter('category_description', 'wptexturize');
|
||||
|
Loading…
Reference in New Issue
Block a user