[wp-trac] [WordPress Trac] #41339: WP_Comments_Query::__construct() should allow a 'status__not_in' parameter

WordPress Trac noreply at wordpress.org
Sat Jul 15 19:47:03 UTC 2017


#41339: WP_Comments_Query::__construct() should allow a 'status__not_in' parameter
-------------------------+-----------------------------
 Reporter:  pbiron       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Comments     |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 `WP_Comments_Query::__construct()` (and hence, `get_comments()`) currently
 allows a `status` parameter to get comments with a specific status.

 It would be useful to also allow `$status__not_in` to exclude comments
 with specific stati.

 Related: #41338

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


More information about the wp-trac mailing list