[wp-trac] [WordPress Trac] #39141: RSS feeds have incorrect lastBuildDate when using alternate languages

WordPress Trac noreply at wordpress.org
Thu Dec 15 09:33:00 UTC 2016


#39141: RSS feeds have incorrect lastBuildDate when using alternate languages
----------------------------------------------------+--------------------
 Reporter:  __jester                                |       Owner:
     Type:  defect (bug)                            |      Status:  new
 Priority:  normal                                  |   Milestone:  4.7.1
Component:  Feeds                                   |     Version:  4.7
 Severity:  normal                                  |  Resolution:
 Keywords:  has-patch needs-testing has-unit-tests  |     Focuses:
----------------------------------------------------+--------------------

Comment (by dd32):

 Having taken another look at this, `feed-rss2.php` is the only RSS feed
 which actually had a date format which has any translatable components in
 it in the first place. Still makes sense to mark all of them as
 `$translate = false` though.

 Digging into it further, the format `D, d M Y H:i:s +0000` is the same as
 `r` - and as we don't need to translate it here we could probably just
 switch it back to that. It was changed back in r1041 (later follow up
 commits marked it as no-translate, this would be at least the 3rd time
 it's lost the no-translate flag).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39141#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list