[wp-trac] [WordPress Trac] #51184: get_the_date() checks $format only for empty variable and fails on false boolean - since WP 5.5 (was: get_the_date() checks $format only for emtpy variable and fails on false boolean - since WP 5.5)
WordPress Trac
noreply at wordpress.org
Fri Aug 28 22:45:35 UTC 2020
#51184: get_the_date() checks $format only for empty variable and fails on false
boolean - since WP 5.5
------------------------------------------+-----------------------------
Reporter: wittich | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.5.1
Component: Date/Time | Version: 5.5
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: needs-patch => needs-patch needs-unit-tests
* owner: (none) => SergeyBiryukov
* status: new => accepted
* milestone: Awaiting Review => 5.5.1
Comment:
Hi there, welcome to WordPress Trac! Thanks for the report.
Introduced in [47808]. Some other functions are affected too:
* `get_the_date()`
* `get_the_time()`
* `get_comment_date()`
* `get_comment_time()`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51184#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list