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

WordPress Trac noreply at wordpress.org
Sun Jul 30 15:24:19 UTC 2017


#41339: WP_Comments_Query::__construct() should allow a 'status__not_in' parameter
----------------------------------------+-----------------------------
 Reporter:  pbiron                      |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Comments                    |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by pbiron):

 I'll write some unit tests when I get a chance.

 I'll look at how other classes that have both `$xxx` (or `$xxx__in`) and
 `$xxx__not_in` parameters deal with the case where the two "cancel each
 other out".

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


More information about the wp-trac mailing list