[wp-trac] [WordPress Trac] #47354: the_weekday_date() should use is_new_day()

WordPress Trac noreply at wordpress.org
Wed May 22 21:57:37 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:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45378" 45378]:
 {{{
 #!CommitTicketReference repository="" revision="45378"
 Date/Time: Bring some consistency to `the_date()` and
 `the_weekday_date()`:

 * Make `the_date()` always apply the the filter and return a value.
 * Use `is_new_day()` in `the_weekday_date()`.
 * Add a unit test for `the_weekday_date()`.

 Fixes #47354.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47354#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list