#25386 closed enhancement (fixed)
Add comment__in and comment__not_in to WP_Comment_Query
| Reported by: | nofearinc | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
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
@
12 years ago
- Keywords needs-testing added
25386-tests.diff has basic tests for commentin and commentnot_in
#5
@
12 years ago
- Owner set to
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
adding commentin and commentnot_in to WP_Comment_Query