WordPress.org

Make WordPress Core

Ticket #9566: 9566.patch

File 9566.patch, 799 bytes (added by peaceablewhale, 5 years ago)
  • feed-rss2.php

     
    2424        <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 
    2525        <link><?php bloginfo_rss('url') ?></link> 
    2626        <description><?php bloginfo_rss("description") ?></description> 
    27         <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></pubDate> 
     27        <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate> 
    2828        <?php the_generator( 'rss2' ); ?> 
    2929        <language><?php echo get_option('rss_language'); ?></language> 
    3030        <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>