[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:41:28 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 | Focuses:
--------------------------------------+---------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"46974" 46974]:
{{{
#!CommitTicketReference repository="" revision="46974"
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.
Fixes #48957.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48957#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list