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

WordPress Trac noreply at wordpress.org
Mon Sep 23 08:58:56 UTC 2024


#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-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by domainsupport):

 Any chance we can get this moving ... ? Still seeing notices in our log
 when sites are being scanned / attacked by bad actors ...

 {{{
 [22-Sep-2024 09:00:57 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 46680 for week. Expected value should be
 between 1 and 53. Please see Debugging in WordPress for more information.
 (This message was added in version 4.1.0.) in /wp-includes/functions.php
 on line 6085
 [22-Sep-2024 09:00:58 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 46680 for week. Expected value should be
 between 1 and 53. Please see Debugging in WordPress for more information.
 (This message was added in version 4.1.0.) in /wp-includes/functions.php
 on line 6085
 [22-Sep-2024 19:38:59 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 125272522 for month. Expected value
 should be between 1 and 12. Please see Debugging in WordPress for more
 information. (This message was added in version 4.1.0.) in /wp-
 includes/functions.php on line 6085
 }}}

 Thanks.

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


More information about the wp-trac mailing list