[wp-trac] [WordPress Trac] #31036: WP_Date_Query docblock doesn't properly describe array inputs

WordPress Trac noreply at wordpress.org
Fri Jan 16 14:58:44 UTC 2015


#31036: WP_Date_Query docblock doesn't properly describe array inputs
--------------------------+-----------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.2
Component:  Query         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------
 See https://core.trac.wordpress.org/ticket/31001#comment:7 and
 https://core.trac.wordpress.org/attachment/ticket/31001/31001.2.patch

 Many of the params in `WP_Date_Query` accept arrays rather than ints -
 and, indeed, BETWEEN and NOT BETWEEN *require* arrays - but the
 documentation doesn't make this clear.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31036>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list