From 8db1ca2dfaabebb02fca6f908b122f2c76b6025f Mon Sep 17 00:00:00 2001 From: rboren Date: Sat, 18 Sep 2004 03:04:27 +0000 Subject: [PATCH] htmlspecialchars() no longer needs to be run against rewrite_rules due to options-permalink reorg. Currently, ampersands end up being encoded in .htaccess, which causes breakage. git-svn-id: http://svn.automattic.com/wordpress/trunk@1686 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/vars.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/vars.php b/wp-includes/vars.php index 9253204a2..d6dd744d9 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -180,7 +180,6 @@ foreach($wpsmiliestrans as $smiley => $img) { define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) ); // Some default filters -add_filter('rewrite_rules','htmlspecialchars'); add_filter('bloginfo','htmlspecialchars'); add_filter('category_description', 'wptexturize'); add_filter('list_cats', 'wptexturize'); @@ -190,4 +189,4 @@ add_filter('single_post_title', 'wptexturize'); add_filter('the_title', 'wptexturize'); add_filter('the_content', 'wptexturize'); add_filter('the_excerpt', 'wptexturize'); -?> \ No newline at end of file +?>