Opened 21 months ago
Last modified 20 months ago
#18596 new enhancement
Not possible to filter comment screen by post type
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Administration | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
The post_type query var has no effect on the Comments screen so it's not possible to filter this screen by post type.
I'll work on a patch.
Attachments (1)
Change History (3)
johnbillion — 20 months ago
comment:2
johnbillion — 20 months ago
- Keywords has-patch added
Patch. get_comments() already has support for the post_type parameter, so all we need to do is pass it the query var value.
Note: See
TracTickets for help on using
tickets.

This would be really nifty for curious uses of comments.
Would be great to actually be able to filter the main query here to allow for the exclusion of post types, etc.