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
This commit is contained in:
rboren 2004-09-18 03:04:27 +00:00
parent a7322e87b5
commit 8db1ca2dfa
1 changed files with 1 additions and 2 deletions

View File

@ -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');
?>
?>