Feeds: Do not translate the `lastBuildDate` field in RSS feeds.
Props stevenkword. Partial Merge of [39613] to the 4.7 branch. Fixes #39141. Built from https://develop.svn.wordpress.org/branches/4.7@39615 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
592f1be68e
commit
540a3164a4
|
@ -44,7 +44,7 @@ do_action( 'rss_tag_pre', 'rss2' );
|
|||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<lastBuildDate><?php
|
||||
$date = get_lastpostmodified( 'GMT' );
|
||||
echo $date ? mysql2date( 'D, d M Y H:i:s +0000', $date ) : date( 'D, d M Y H:i:s +0000' );
|
||||
echo $date ? mysql2date( 'D, d M Y H:i:s +0000', $date, false ) : date( 'D, d M Y H:i:s +0000' );
|
||||
?></lastBuildDate>
|
||||
<language><?php bloginfo_rss( 'language' ); ?></language>
|
||||
<sy:updatePeriod><?php
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7.1-alpha-39611';
|
||||
$wp_version = '4.7.1-alpha-39615';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue