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

WordPress Trac noreply at wordpress.org
Fri Jan 6 02:02:09 UTC 2023


#56311: Week query variable is not being sanitized correctly
-------------------------------------+-----------------------
 Reporter:  domainsupport            |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  6.2
Component:  Query                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by peterwilsoncc):

 Thanks Oliver, I'll review and test the code.

 Before committing it to WordPress it will needs some additional tests to
 help ensure that it's error free. I've created a
 [https://github.com/WordPress/wordpress-develop/pull/3821 pull request
 with your code] so I can add tests.

 If you've got experience writing unit tests, feel free to create a PR on
 your account and I'll close mine off.

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


More information about the wp-trac mailing list