git-svn-id: https://develop.svn.wordpress.org/trunk@9148 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cc50e8f056
commit
028cee6d66
|
@ -337,7 +337,7 @@ function get_the_category_rss($type = 'rss') {
|
||||||
elseif ( 'atom' == $type )
|
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 ) );
|
$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
|
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);
|
return apply_filters('the_category_rss', $the_list, $type);
|
||||||
|
|
Loading…
Reference in New Issue