[wp-trac] [WordPress Trac] #47354: the_weekday_date() should use is_new_day()
WordPress Trac
noreply at wordpress.org
Thu May 23 00:38:04 UTC 2019
#47354: the_weekday_date() should use is_new_day()
----------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Date/Time | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses:
----------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"45379" 45379]:
{{{
#!CommitTicketReference repository="" revision="45379"
Date/Time: Return early from `the_weekday()` and `the_weekday_date()` if
we're not in the loop.
Restore `$previousweekday` global usage in `the_weekday_date()`, so it
could still be used simultaneously with `the_date()`.
Partially reverts [45378].
See #47354.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47354#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list