[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 05:06:25 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: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"45908" 45908]:
{{{
#!CommitTicketReference repository="" revision="45908"
Date/Time: Revamp `mysql2date()` to use `wp_date()` and handle invalid
input in a consistent manner.
Add unit tests, improve documentation.
Props Rarst, pbearne.
Fixes #28992.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28992#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list