[wp-trac] [WordPress Trac] #56311: Week query variable is not being sanitized correctly
WordPress Trac
noreply at wordpress.org
Tue Jan 3 08:53:48 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 domainsupport):
Hi @peterwilsoncc,
Are you saying that you would like the entire patched
`WP_Date_Query->validate_date_values()` method relocated to the `WP` class
or that you would like an additional method in `WP` class which would
validate the date values for a second time?
The latter would still result in superfluous entires in the logs without
checking for the existence of the corresponding `$_GET` element unless the
notice in line 397 were moved to the `WP` method.
Oliver
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56311#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list