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

WordPress Trac noreply at wordpress.org
Mon Jan 6 09:31:24 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-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by domainsupport):

 Just keeping this ticket alive as we are still seeing sites being scanned
 ...

 {{{
 [05-Jan-2025 23:51:17 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 50 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 /html/wp-
 includes/functions.php on line 6114
 [05-Jan-2025 23:51:50 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 50 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 /html/wp-
 includes/functions.php on line 6114
 [05-Jan-2025 23:56:42 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 525272522 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 /html/wp-
 includes/functions.php on line 6114
 [06-Jan-2025 00:02:53 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 50 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 6114
 [06-Jan-2025 00:03:13 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 50 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 /html/wp-
 includes/functions.php on line 6114
 [06-Jan-2025 00:06:57 UTC] E_USER_NOTICE: Function WP_Date_Query was
 called incorrectly. Invalid value 525272522 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 /html/wp-
 includes/functions.php on line 6114
 }}}

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


More information about the wp-trac mailing list