[wp-trac] [WordPress Trac] #31001: New notices and warnings in WP_Date_Query
WordPress Trac
noreply at wordpress.org
Tue Feb 10 01:13:40 UTC 2015
#31001: New notices and warnings in WP_Date_Query
------------------------------------------+---------------------------
Reporter: dlh | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1.1
Component: Query | Version: 4.1
Severity: normal | Resolution: fixed
Keywords: has-patch fixed-major commit | Focuses:
------------------------------------------+---------------------------
Changes (by dd32):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"31396"]:
{{{
#!CommitTicketReference repository="" revision="31396"
Support array values in `WP_Date_Query::validate_date_values()`.
Introduced in [29925], `validate_date_values()` throws `_doing_it_wrong()`
notices when values passed as part of a `WP_Date_Query` do not reflect
actual
dates. However, the validation did not account properly for the case where
an
array of multiple values is passed, as when doing IN or BETWEEN queries.
Props dlh.
Merges [31179] to the 4.1 branch.
Fixes #31001.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31001#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list