#25386 closed enhancement (fixed)
Add comment__in and comment__not_in to WP_Comment_Query
Reported by: | nofearinc | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
Suggesting an update to the WP_Comment_Query
class for filtering comments by ID, similarly to the WP_Query
post__in
and post__not_in
.
Attachments (2)
Change History (12)
#3
@
10 years ago
- Keywords needs-testing added
25386-tests.diff has basic tests for commentin and commentnot_in
#5
@
10 years ago
- Owner set to boonebgorges
- Status changed from new to reviewing
Hey fellows - Do you guys have strong feelings about parameter names? In 29189.2.patch I use comment_id__in
etc while you've gone with comment__in
etc. I guess your choice is more consistent with WP_Query
params?
Note: See
TracTickets for help on using
tickets.
adding commentin and commentnot_in to WP_Comment_Query