mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
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:
parent
a7322e87b5
commit
8db1ca2dfa
@ -180,7 +180,6 @@ foreach($wpsmiliestrans as $smiley => $img) {
|
|||||||
define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) );
|
define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) );
|
||||||
|
|
||||||
// Some default filters
|
// Some default filters
|
||||||
add_filter('rewrite_rules','htmlspecialchars');
|
|
||||||
add_filter('bloginfo','htmlspecialchars');
|
add_filter('bloginfo','htmlspecialchars');
|
||||||
add_filter('category_description', 'wptexturize');
|
add_filter('category_description', 'wptexturize');
|
||||||
add_filter('list_cats', 'wptexturize');
|
add_filter('list_cats', 'wptexturize');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user