Make WordPress Core


Ignore:
Timestamp:
05/05/2009 08:36:20 PM (16 years ago)
Author:
ryan
Message:

Proper lastBuildDate for rss2 comments feed. Props peaceablewhale. fixes #9567

File:
1 edited

Legend:

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

    r11204 r11205  
    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>
Note: See TracChangeset for help on using the changeset viewer.