[wp-trac] [WordPress Trac] #25834: WP_Date_Query not allowed values possible

WordPress Trac noreply at wordpress.org
Tue Nov 5 12:36:05 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 toscho):

 Replying to [comment:2 SergeyBiryukov]:
 > > month > 12, week > 52, hour > 23, Minute > 59, Second > 59
 >
 > What would be the expected result?

 Sanitize or, better, return a `WP_Error` with an explanation.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25834#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list