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";