mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Feeds: Do not translate the lastBuildDate field in RSS feeds.
Props stevenkword, dd32. Fixes #39141 git-svn-id: https://develop.svn.wordpress.org/trunk@39613 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -32,7 +32,7 @@ do_action( 'rss_tag_pre', 'atom' );
|
||||
|
||||
<updated><?php
|
||||
$date = get_lastpostmodified( 'GMT' );
|
||||
echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date ) : date( 'Y-m-d\TH:i:s\Z' );
|
||||
echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date, false ) : date( 'Y-m-d\TH:i:s\Z' );
|
||||
?></updated>
|
||||
|
||||
<link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss('url') ?>" />
|
||||
|
||||
Reference in New Issue
Block a user