[wp-trac] [WordPress Trac] #31067: WP_Date_Query - broken hour-validation

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


#31067: WP_Date_Query - broken hour-validation
--------------------------+--------------------
 Reporter:  ChriCo        |       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 boonebgorges):

 ChriCo - Thanks for the report. And tyxla - thanks for the test update,
 though in this case we can't just remove the string check; the fact that
 it's failing suggests a further bug. We can work around the `0`/string
 issue by checking `is_numeric()` separately. Fix coming up.

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


More information about the wp-trac mailing list