[wp-trac] [WordPress Trac] #48957: Call to a member function format() on boolean in wp-includes/feed.php

WordPress Trac noreply at wordpress.org
Tue Dec 17 20:52:57 UTC 2019


#48957: Call to a member function format() on boolean in wp-includes/feed.php
--------------------------------------------------+---------------------
 Reporter:  dd32                                  |       Owner:  Rarst
     Type:  defect (bug)                          |      Status:  closed
 Priority:  high                                  |   Milestone:  5.3.2
Component:  Date/Time                             |     Version:  5.3.1
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-major  |     Focuses:
--------------------------------------------------+---------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"46977" 46977]:
 {{{
 #!CommitTicketReference repository="" revision="46977"
 Date/Time: Ensure that `get_feed_build_date()` correctly handles a
 modified post object with invalid date.

 * Clarify in the documentation that the function returns `false` on
 failure.
 * Consistently pass the return value through the `get_feed_build_date`
 filter.

 Props Rarst, dd32, azaozz, tellyworth.
 Merges [46974] and [46973] to the 5.3 branch.
 Fixes #48957.
 }}}

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


More information about the wp-trac mailing list