WordPress.org

Make WordPress Core

Ticket #4321: 4321-new.diff

File 4321-new.diff, 656 bytes (added by lildude, 7 years ago)

This patch is against the 2.5.1 source

  • feed.php

    old new  
    136136               elseif ( 'atom' == $type ) 
    137137                       $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $cat_name ) ); 
    138138               else 
    139                        $the_list .= "\n\t\t<category><![CDATA[$cat_name]]></category>\n"; 
     139                       $the_list .= "\n\t\t<category><![CDATA[".html_entity_decode($cat_name)."]]></category>\n"; 
    140140       } 
    141141 
    142142       return apply_filters('the_category_rss', $the_list, $type);