diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 9a34aebc08..2cdd211bba 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -103,11 +103,12 @@ add_filter('sanitize_title', 'sanitize_title_with_dashes'); // RSS filters add_filter('the_title_rss', 'strip_tags'); add_filter('the_title_rss', 'ent2ncr', 8); +add_filter('the_title_rss', 'wp_specialchars'); add_filter('the_content_rss', 'ent2ncr', 8); add_filter('the_excerpt_rss', 'convert_chars'); add_filter('the_excerpt_rss', 'ent2ncr', 8); add_filter('comment_author_rss', 'ent2ncr', 8); -add_filter('comment_text_rss', 'htmlspecialchars'); +add_filter('comment_text_rss', 'wp_specialchars'); add_filter('comment_text_rss', 'ent2ncr', 8); add_filter('bloginfo_rss', 'ent2ncr', 8); add_filter('the_author', 'ent2ncr', 8);