Make WordPress Core

Ticket #1451: 1451.patch

File 1451.patch, 816 bytes (added by leftjustified, 18 years ago)

patch for 2.0 branch

  • wp-includes/default-filters.php

     
    105105// RSS filters
    106106add_filter('the_title_rss', 'strip_tags');
    107107add_filter('the_title_rss', 'ent2ncr', 8);
     108add_filter('the_title_rss', 'wp_specialchars');
    108109add_filter('the_content_rss', 'ent2ncr', 8);
    109110add_filter('the_excerpt_rss', 'convert_chars');
    110111add_filter('the_excerpt_rss', 'ent2ncr', 8);
    111112add_filter('comment_author_rss', 'ent2ncr', 8);
    112 add_filter('comment_text_rss', 'htmlspecialchars');
     113add_filter('comment_text_rss', 'wp_specialchars');
    113114add_filter('comment_text_rss', 'ent2ncr', 8);
    114115add_filter('bloginfo_rss', 'ent2ncr', 8);
    115116add_filter('the_author', 'ent2ncr', 8);