Make WordPress Core


Ignore:
Timestamp:
09/10/2013 04:54:16 PM (11 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-includes/feed-rss2.php

    r21235 r25315  
    3737        <comments><?php comments_link_feed(); ?></comments>
    3838        <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
    39         <dc:creator><?php the_author() ?></dc:creator>
     39        <dc:creator><![CDATA[<?php the_author() ?>]]></dc:creator>
    4040        <?php the_category_rss('rss2') ?>
    4141
Note: See TracChangeset for help on using the changeset viewer.