s/cat_name/name/ see #4537

git-svn-id: https://develop.svn.wordpress.org/trunk@5755 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-06-25 20:06:02 +00:00
parent 8133ebad65
commit b692c7395f
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ function get_the_category_rss($type = 'rss') {
if ( 'rdf' == $type )
$the_list .= "\n\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n";
if ( 'atom' == $type )
$the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $category->cat_name ) );
$the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $category->name ) );
else
$the_list .= "\n\t\t<category><![CDATA[$cat_name]]></category>\n";
}