WordPress.org

Make WordPress Core

Ticket #9567: 9567.patch

File 9567.patch, 820 bytes (added by peaceablewhale, 5 years ago)
  • feed-rss2-comments.php

     
    2727        <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 
    2828        <link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link> 
    2929        <description><?php bloginfo_rss("description") ?></description> 
    30         <pubDate><?php echo gmdate('r'); ?></pubDate> 
     30        <lastBuildDate><?php echo mysql2date('r', get_lastcommentmodified('GMT')); ?></lastBuildDate> 
    3131        <?php the_generator( 'rss2' ); ?> 
    3232        <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> 
    3333        <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>