[wp-trac] [WordPress Trac] #56516: calendar_week_mod function is not type safe

WordPress Trac noreply at wordpress.org
Tue Aug 8 00:06:52 UTC 2023


#56516: calendar_week_mod function is not type safe
--------------------------------------------+-------------------------
 Reporter:  dingo_d                         |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:
Component:  General                         |     Version:
 Severity:  normal                          |  Resolution:  maybelater
 Keywords:  needs-patch needs-testing php8  |     Focuses:
--------------------------------------------+-------------------------

Comment (by jrf):

 > I think (maybe) there's a Trac ticket open for this architectural
 discussion, though I'm currently not finding it.


 I can't remember a project/task ticket being open for this. I think a Make
 post would probably be the way to go anyway as any ticket would be
 inactionable before a strategy has been agreed upon.

 Would it be an idea to keep this ticket open for adding tests to the
 `calendar_week_mod()` function ? (without - at this time - addressing the
 defensive coding issue)

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


More information about the wp-trac mailing list