[wp-trac] [WordPress Trac] #28992: mysql2date() return empty string not false sometimes added doing it wrong message

WordPress Trac noreply at wordpress.org
Thu Aug 29 16:43:38 UTC 2019


#28992: mysql2date() return empty string not false sometimes added doing it wrong
message
--------------------------------------+-----------------------------
 Reporter:  pbearne                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  Date/Time                 |     Version:  3.8
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"45911" 45911]:
 {{{
 #!CommitTicketReference repository="" revision="45911"
 Date/Time: Update XML-RPC tests for invalid date input to account for a
 more consistent `mysql2date()` error handling in [45908].

 The tests were meant to check for the lack of a fatal error in case of
 invalid date input, not specifically mark a particular outcome as the
 correct one.

 Props Rarst.
 Fixes #28992.
 }}}

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


More information about the wp-trac mailing list