[wp-trac] [WordPress Trac] #47304: Feed <lastBuildDate> Bug

WordPress Trac noreply at wordpress.org
Mon May 20 14:42:07 UTC 2019


#47304: Feed <lastBuildDate> Bug
-------------------------------------------+----------------------
 Reporter:  onlanka                        |       Owner:  desrosj
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  5.2.1
Component:  Feeds                          |     Version:  5.2
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+----------------------
Changes (by desrosj):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45367" 45367]:
 {{{
 #!CommitTicketReference repository="" revision="45367"
 Feeds: Ensure a feed’s `<lastBuildDate>` has the correct date.

 The maximum modified time for a is currently being determined after an
 arbitrary date format is applied. Because the string sort in `max()` is
 being used to return the highest (most recent) modified value, the
 incorrect date is sometimes returned. This was introduced in [45247].

 Props onlanka, Rarsr, mukesh27.
 Fixes #47304.
 }}}

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


More information about the wp-trac mailing list