From 1b53aaa0edb334b81b7f10c39d10a6ef44ac0e35 Mon Sep 17 00:00:00 2001 From: Peter Westwood 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: https://develop.svn.wordpress.org/trunk@6001 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 ee180ab861..1094168012 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";