[wp-trac] [WordPress Trac] #25834: WP_Date_Query not allowed values possible
WordPress Trac
noreply at wordpress.org
Sun Dec 1 02:34:29 UTC 2013
#25834: WP_Date_Query not allowed values possible
--------------------------+------------------------------
Reporter: ChriCo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.7
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:4 toscho]:
> Sanitize or, better, return a `WP_Error` with an explanation.
`WP_Date_Query::get_sql()` is supposed to return a string, so returning a
`WP_Error` object might break some code.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25834#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list