Make WordPress Core


Ignore:
Timestamp:
09/01/2007 08:33:08 AM (17 years ago)
Author:
westi
Message:

Fix RDF feeds to not contain invalid tag "category". Fixed #4643 props kztk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed.php

    r6000 r6001  
    169169        if ( 'rdf' == $type )
    170170            $the_list .= "\n\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n";
    171         if ( 'atom' == $type )
     171        elseif ( 'atom' == $type )
    172172            $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $cat_name ) );
    173173        else
Note: See TracChangeset for help on using the changeset viewer.