[wp-trac] [WordPress Trac] #29885: Add author__not_in for comment queries

WordPress Trac noreply at wordpress.org
Wed Oct 8 12:36:15 UTC 2014


#29885: Add author__not_in for comment queries
-----------------------------+---------------------------
 Reporter:  chriscct7        |       Owner:  boonebgorges
     Type:  feature request  |      Status:  accepted
 Priority:  normal           |   Milestone:  4.1
Component:  Query            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+---------------------------
Changes (by chriscct7):

 * keywords:  has-patch => needs-patch


Comment:

 While I definitely see the usefulness of the ability to limit the comments
 returned by the author of the post, the ticket (which I apologize since it
 wasn't clear enough), was to be able to limit the comments returned by the
 author of the comments. For example, a query might be return all comments
 of post 14 except for ones written by user id 4.

 While the patch for this issue adds `post_author__in`, I think the more
 helpful `comment_author__in` should also be added (since it was what I was
 actually proposing). I extremely apologize for any confusion.

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


More information about the wp-trac mailing list