[wp-trac] [WordPress Trac] #29189: post/comment IN and NOT IN params for WP_Comment_Query

WordPress Trac noreply at wordpress.org
Tue Sep 30 18:41:49 UTC 2014


#29189: post/comment IN and NOT IN params for WP_Comment_Query
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  4.1
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * keywords:  has-patch needs-docs => has-patch


Comment:

 Replying to [comment:4 DrewAPicture]:
 > In looking at `WP_Comment_Query::query()` I notice that it's generally
 devoid of inline documentation. I'd at the very least prefer to see some
 single-line comments explaining what's being parsed for these four added
 arguments, as well as an `@since 4.1.0` tag for the added arguments.
 >
 > Looks like the default args aren't documented in here either, but we'll
 take care of that over in #28298.

 [https://core.trac.wordpress.org/attachment/ticket/29189/29189.2.patch
 29189.2.patch] adds inline comments, `@since` for the new params, and
 missing `@ticket` numbers for the tests.

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


More information about the wp-trac mailing list