From 72a840390551d2450dd79171a9847484126046ad Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 11 Jun 2004 19:34:26 +0000 Subject: [PATCH] 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 --- wp-includes/vars.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/vars.php b/wp-includes/vars.php index 179f55272..e75fff271 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -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');