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

WordPress Trac noreply at wordpress.org
Fri Jan 16 15:12:19 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        |  Resolution:
 Keywords:                |     Focuses:  docs
--------------------------+-------------------

Comment (by boonebgorges):

 DrewAPicture - If you have a moment, could you give your feedback on
 [attachment:31036.diff]? The rub is that a bunch of parameters that
 normally require int values accept or even require array values when used
 in conjunction with certain values of `compare`. This is a hard (and
 redundant) thing to spell out in the array hash, so I've added a paragraph
 to the long description. What do you think?

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


More information about the wp-trac mailing list