s/cat_name/name/ see #4537

git-svn-id: http://svn.automattic.com/wordpress/trunk@5755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-06-25 20:06:02 +00:00
parent a5e56dc9db
commit 0e7483cc5a
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 ) if ( 'rdf' == $type )
$the_list .= "\n\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n"; $the_list .= "\n\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n";
if ( 'atom' == $type ) 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 else
$the_list .= "\n\t\t<category><![CDATA[$cat_name]]></category>\n"; $the_list .= "\n\t\t<category><![CDATA[$cat_name]]></category>\n";
} }