WordPress.org

Make WordPress Core

Ticket #4321: 4321.diff

File 4321.diff, 644 bytes (added by Nazgul, 8 years ago)
  • wp-includes/feed.php

     
    171171                elseif ( 'atom' == $type ) 
    172172                        $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $cat_name ) ); 
    173173                else 
    174                         $the_list .= "\n\t\t<category><![CDATA[$cat_name]]></category>\n"; 
     174                        $the_list .= "\n\t\t<category><![CDATA[".ent2ncr($cat_name)."]]></category>\n"; 
    175175        } 
    176176 
    177177        return apply_filters('the_category_rss', $the_list, $type);