[wp-trac] [WordPress Trac] #56311: Week query variable is not being sanitized correctly

WordPress Trac noreply at wordpress.org
Sat May 17 14:42:55 UTC 2025


#56311: Week query variable is not being sanitized correctly
-------------------------------------------------+-------------------------
 Reporter:  domainsupport                        |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Query                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-test-info needs-unit-tests       |     Focuses:
  changes-requested                              |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => has-test-info needs-unit-tests
     changes-requested


Comment:

 @domainsupport the problem is with [https://github.com/WordPress
 /wordpress-develop/pull/3821.diff the last patch].

 For example this: http://localhost:8889/2025/05/51
 Throw new errors

 [[Image(https://i.imgur.com/otyQJhW.png)]]

 If you can propose a new patch to review all these problems

 Also I believe that `unit-tests` would be great to complement a possible
 patch.

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


More information about the wp-trac mailing list