diff -Naur wordpress-3.4.1/wp-includes/default-filters.php wordpress/wp-includes/default-filters.php
|
old
|
new
|
|
| 164 | 164 | add_filter( 'the_title_rss', 'ent2ncr', 8 ); |
| 165 | 165 | add_filter( 'the_title_rss', 'esc_html' ); |
| 166 | 166 | add_filter( 'the_content_rss', 'ent2ncr', 8 ); |
| 167 | | add_filter( 'the_excerpt_rss', 'convert_chars' ); |
| 168 | | add_filter( 'the_excerpt_rss', 'ent2ncr', 8 ); |
| 169 | 167 | add_filter( 'comment_author_rss', 'ent2ncr', 8 ); |
| 170 | 168 | add_filter( 'comment_text_rss', 'ent2ncr', 8 ); |
| 171 | 169 | add_filter( 'comment_text_rss', 'esc_html' ); |
diff -Naur wordpress-3.4.1/wp-includes/feed.php wordpress/wp-includes/feed.php
|
old
|
new
|
|
| 174 | 174 | * @uses apply_filters() Calls 'the_excerpt_rss' hook on the excerpt. |
| 175 | 175 | */ |
| 176 | 176 | function the_excerpt_rss() { |
| 177 | | $output = get_the_excerpt(); |
| | 177 | $output = apply_filters('the_excerpt', get_the_excerpt()); |
| | 178 | $output = str_replace(']]>', ']]>', $output); |
| 178 | 179 | echo apply_filters('the_excerpt_rss', $output); |
| 179 | 180 | } |
| 180 | 181 | |