Ticket #21753: 21753.2.diff
File 21753.2.diff, 1.1 KB (added by , 11 years ago) |
---|
-
wp-includes/default-filters.php
160 160 add_filter( 'the_title_rss', 'ent2ncr', 8 ); 161 161 add_filter( 'the_title_rss', 'esc_html' ); 162 162 add_filter( 'the_content_rss', 'ent2ncr', 8 ); 163 add_filter( 'the_excerpt_rss', 'convert_chars' );164 add_filter( 'the_excerpt_rss', 'ent2ncr', 8 );165 163 add_filter( 'comment_author_rss', 'ent2ncr', 8 ); 166 164 add_filter( 'comment_text_rss', 'ent2ncr', 8 ); 167 165 add_filter( 'comment_text_rss', 'esc_html' ); -
wp-includes/feed.php
239 239 * 240 240 * @param string $output The current post excerpt. 241 241 */ 242 $output = apply_filters( 'the_excerpt', $output ); 243 $output = str_replace( ']]>', ']]>', $output ); 242 244 echo apply_filters( 'the_excerpt_rss', $output ); 243 245 } 244 246