WordPress.org

Make WordPress Core

Ticket #15136: add-rss2-author.patch

File add-rss2-author.patch, 551 bytes (added by njw, 4 years ago)

Patch adding author tag to RSS2 feeds

  • wp-includes/feed-rss2.php

     
    3636                <link><?php the_permalink_rss() ?></link> 
    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                <author><?php the_author() ?></author> 
    3940                <dc:creator><?php the_author() ?></dc:creator> 
    4041                <?php the_category_rss() ?> 
    4142