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

WordPress Trac noreply at wordpress.org
Wed May 22 21:47:26 UTC 2019


#47354: the_weekday_date() should use is_new_day()
----------------------------+--------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  5.3
Component:  Date/Time       |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+--------------------
 Background: #33750, #46627.

 Since [34474], `the_date()` uses `is_new_day()` instead of directly
 comparing `$currentday` and `$previousday` globals.


 `the_weekday_date()` should do the same for consistency.

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


More information about the wp-trac mailing list