Don't encoded category element contents - fixes #4321 and #7815.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-10-14 01:08:56 +00:00
parent a2ccbf9a00
commit 98fbfa4acb
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ function get_the_category_rss($type = 'rss') {
elseif ( 'atom' == $type )
$the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $cat_name ) );
else
$the_list .= "\n\t\t<category><![CDATA[$cat_name]]></category>\n";
$the_list .= "\n\t\t<category><![CDATA[" . html_entity_decode( $cat_name ) . "]]></category>\n";
}
return apply_filters('the_category_rss', $the_list, $type);