[wp-trac] [WordPress Trac] #25834: WP_Date_Query not allowed values possible
WordPress Trac
noreply at wordpress.org
Thu Oct 16 20:11:15 UTC 2014
#25834: WP_Date_Query not allowed values possible
----------------------------------+---------------------------
Reporter: ChriCo | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Query | Version: 3.7
Severity: normal | Resolution: fixed
Keywords: has-patch needs-docs | Focuses:
----------------------------------+---------------------------
Changes (by boonebgorges):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"29925"]:
{{{
#!CommitTicketReference repository="" revision="29925"
Throw notices when invalid date values are passed to WP_Date_Query.
`_doing_it_wrong()` notices are now generated when passing out-of-range
values
(`month=13`) or invalid dates (`2014-02-29`).
Includes unit tests.
Props ChriCo.
Fixes #25834.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25834#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list