[wp-trac] [WordPress Trac] #56311: Week query variable is not being sanitized correctly
WordPress Trac
noreply at wordpress.org
Mon Dec 19 10:05:24 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):
Hi guys, just keeping this one alive ... still getting the notices in
v6.1.1 ...
{{{
[16-Dec-2022 13:00:23 UTC] PHP Notice: Function WP_Date_Query was called
<strong>incorrectly</strong>. Invalid value <code>95404</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
[16-Dec-2022 13:00:23 UTC] PHP Notice: Function WP_Date_Query was called
<strong>incorrectly</strong>. Invalid value <code>95404</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:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list