[wp-trac] [WordPress Trac] #27064: Allow user_id to accept an array of IDs for WP_Comment_Query

WordPress Trac noreply at wordpress.org
Sat Feb 8 02:45:50 UTC 2014


#27064: Allow user_id to accept an array of IDs for WP_Comment_Query
-------------------------+-----------------------------
 Reporter:  mordauk      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Comments     |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 As the user who submitted [http://wordpress.org/support/topic/get-recent-
 comments-from-a-specific-array-of-users this support ticket] wanted, it
 seems perfectly reasonable to me that we should allow an array of user IDs
 to be passed to the `user_id` parameter of `WP_Comment_Query` in order to
 retrieve comments by multiple users.

 I'd propose that the `user_id` allow either an integer or an array to be
 passed.

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


More information about the wp-trac mailing list