Make WordPress Core


Ignore:
Timestamp:
12/16/2016 06:38:10 AM (8 years ago)
Author:
dd32
Message:

Feeds: Do not translate the lastBuildDate field in RSS feeds.

Props stevenkword, dd32.
Fixes #39141

File:
1 edited

Legend:

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

    r38925 r39613  
    4545    <lastBuildDate><?php
    4646        $date = get_lastpostmodified( 'GMT' );
    47         echo $date ? mysql2date( 'D, d M Y H:i:s +0000', $date ) : date( 'D, d M Y H:i:s +0000' );
     47        echo $date ? mysql2date( 'D, d M Y H:i:s +0000', $date, false ) : date( 'D, d M Y H:i:s +0000' );
    4848    ?></lastBuildDate>
    4949    <language><?php bloginfo_rss( 'language' ); ?></language>
Note: See TracChangeset for help on using the changeset viewer.