mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +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:
@@ -49,7 +49,7 @@ do_action( 'rss_tag_pre', 'rss2-comments' );
|
||||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<lastBuildDate><?php
|
||||
$date = get_lastcommentmodified( 'GMT' );
|
||||
echo $date ? mysql2date( 'r', $date ) : date( 'r' );
|
||||
echo $date ? mysql2date( 'r', $date, false ) : date( 'r' );
|
||||
?></lastBuildDate>
|
||||
<sy:updatePeriod><?php
|
||||
/** This filter is documented in wp-includes/feed-rss2.php */
|
||||
|
||||
Reference in New Issue
Block a user