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: https://develop.svn.wordpress.org/trunk@1686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-09-18 03:04:27 +00:00
parent 0e1a09470b
commit 1efe0af8c3
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');
?>
?>