[wp-trac] [WordPress Trac] #61732: get_calendar() will use invalid dates in SQL queries

WordPress Trac noreply at wordpress.org
Thu Oct 3 20:34:26 UTC 2024


#61732: get_calendar() will use invalid dates in SQL queries
-------------------------------------------------+-------------------------
 Reporter:  leedxw                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Date/Time                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  testing-info needs-testing                     |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:   => has-patch needs-unit-tests needs-testing-info needs-
               testing
 * version:  6.6 =>


Comment:

 Hello @leedxw,

 Welcome to WordPress Core's Trac. Thank you for reporting this issue.

 I'm doing triage and will update the ticket to help it be more actionable:

 * Version: this area of the code predates 6.6 and may go back 20+ years
 (i.e. r933). For now, removing the `Version` that introduced the issue.
 Once investigated, the Version can be updated.

 * Testing: Adding `needs-testing`, as bug reproduction test report(s) are
 helpful.

 * Patch: there is a patch - marking with `has-patch`.

 * Tests: will be great to also add automated PHPUnit tests.

 @leedxw can you please share step-by-step instructions for how to
 reproduce the issue? Thank you.

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


More information about the wp-trac mailing list