From 7612bc20b1834543443b4371d6df85910c12fe26 Mon Sep 17 00:00:00 2001 From: westi Date: Sat, 1 Sep 2007 08:33:08 +0000 Subject: [PATCH] Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk git-svn-id: http://svn.automattic.com/wordpress/trunk@6001 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index ee180ab86..109416801 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -168,7 +168,7 @@ function get_the_category_rss($type = 'rss') { foreach ( $cat_names as $cat_name ) { if ( 'rdf' == $type ) $the_list .= "\n\t\t\n"; - if ( 'atom' == $type ) + elseif ( 'atom' == $type ) $the_list .= sprintf( '', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $cat_name ) ); else $the_list .= "\n\t\t\n";