WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/10/2013 04:54:16 PM (6 years ago)
Author:
wonderboymusic
Message:

Consistently wrap author and excerpt nodes with CDATA in feeds.

Fixes #18056.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/export.php

    r23553 r25315  
    371371        <link><?php the_permalink_rss() ?></link>
    372372        <pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_post_time( 'Y-m-d H:i:s', true ), false ); ?></pubDate>
    373         <dc:creator><?php echo get_the_author_meta( 'login' ); ?></dc:creator>
     373        <dc:creator><?php echo wxr_cdata( get_the_author_meta( 'login' ) ); ?></dc:creator>
    374374        <guid isPermaLink="false"><?php the_guid(); ?></guid>
    375375        <description></description>
Note: See TracChangeset for help on using the changeset viewer.