[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:24:59 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:
--------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 In [changeset:"46973" 46973]:
 {{{
 #!CommitTicketReference repository="" revision="46973"
 Docs: Clarify that `get_lastpostdate()` and `get_lastpostmodified()` can
 return `false` on failure.

 The both use `_get_last_post_time()` internally.

 Props Rarst.
 See #48957.
 }}}

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


More information about the wp-trac mailing list