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

WordPress Trac noreply at wordpress.org
Wed Jan 14 03:28:19 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:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by dlh):

 boonebgorges: I tested the patch against my original queries, and each
 query worked as expected without notices or warnings.

 One minor question: If my array has two incorrect values, such as `'hour'
 => array( 0, 25 )`, should I get two notices? Right now I get only a
 notice for the `0`.

 Thanks also for pointing me to the better source of context for this in
 #25834.

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


More information about the wp-trac mailing list