Make WordPress Core


Ignore:
Timestamp:
08/29/2019 11:17:30 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Date/Time: Restore the previous behavior of date_i18n() where invalid input would result in current time.

Make wp_date() return false on invalid timestamp input, for consistency with upstream PHP date() function.

Props Rarst.
Fixes #28636.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.