[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 13:54:26 UTC 2019


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

 * keywords:   => has-patch has-unit-tests


Comment:

 Ok, take on a patch. This ensures we do not error, we fall back in all
 necessary cases, we respect format when falling back, clarifies inline
 documentation on what it does and possibility of false on failure (which
 was already possible, but not documented).

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


More information about the wp-trac mailing list