[wp-trac] [WordPress Trac] #51184: get_the_date() checks $format only for empty variable and fails on false boolean - since WP 5.5
WordPress Trac
noreply at wordpress.org
Mon Aug 31 15:34:01 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: reopened
Priority: normal | Milestone: 5.5.1
Component: Date/Time | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: template, coding-
has-unit-tests | standards
-------------------------------------+-------------------------------------
Comment (by SergeyBiryukov):
In [changeset:"48911" 48911]:
{{{
#!CommitTicketReference repository="" revision="48911"
Tests: Bring some consistency to Date/Time tests:
* Move some tests from `post.php` to a more appropriate location in the
`date` directory.
* Rename `date/postTime.php` to `date/getPostTime.php` to match the
function name.
Props Rarst.
See #51184.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51184#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list