WordPress.org

Make WordPress Core

Changeset 10758


Ignore:
Timestamp:
03/10/2009 06:25:04 PM (12 years ago)
Author:
ryan
Message:

Remove leading newlines. Props filosofo. fixes #9096

File:
1 edited

Legend:

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

    r10688 r10758  
    337337    foreach ( $cat_names as $cat_name ) {
    338338        if ( 'rdf' == $type )
    339             $the_list .= "\n\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n";
     339            $the_list .= "\t\t<dc:subject><![CDATA[$cat_name]]></dc:subject>\n";
    340340        elseif ( 'atom' == $type )
    341341            $the_list .= sprintf( '<category scheme="%1$s" term="%2$s" />', attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $cat_name ) );
    342342        else
    343             $the_list .= "\n\t\t<category><![CDATA[" . html_entity_decode( $cat_name, ENT_COMPAT, get_option('blog_charset') ) . "]]></category>\n";
     343            $the_list .= "\t\t<category><![CDATA[" . html_entity_decode( $cat_name, ENT_COMPAT, get_option('blog_charset') ) . "]]></category>\n";
    344344    }
    345345
Note: See TracChangeset for help on using the changeset viewer.