[wp-trac] [WordPress Trac] #31001: New notices and warnings in WP_Date_Query

WordPress Trac noreply at wordpress.org
Tue Jan 13 19:19:06 UTC 2015


#31001: New notices and warnings in WP_Date_Query
--------------------------+--------------------
 Reporter:  dlh           |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.1.1
Component:  Query         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by boonebgorges):

 * milestone:  Awaiting Review => 4.1.1


Comment:

 Thanks for the ticket and for the research, dlh. Date validation was
 introduced in [29925] #25834, but it did not properly account for arrays
 being passed as the value of 'day', 'dayofweek', etc.

 [attachment:31001.diff] should fix the problem. Could you give it a look?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31001#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list