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

WordPress Trac noreply at wordpress.org
Mon Nov 14 09:09:12 UTC 2022


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

Comment (by domainsupport):

 This is still an issue in v6.1 ...

 {{{
 [14-Nov-2022 08:42:13 UTC] PHP Notice:  Function WP_Date_Query was called
 <strong>incorrectly</strong>. Invalid value <code>6029465263</code> for
 <code>week</code>. Expected value should be between <code>1</code> and
 <code>53</code>. Please see <a href="https://wordpress.org/support/article
 /debugging-in-wordpress/">Debugging in WordPress</a> for more information.
 (This message was added in version 4.1.0.) in /wp-includes/functions.php
 on line 5835
 }}}

 Oliver

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


More information about the wp-trac mailing list