Opened 21 months ago

Last modified 20 months ago

#18596 new enhancement

Not possible to filter comment screen by post type

Reported by: johnbillion 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)

18596.patch (775 bytes) - added by johnbillion 20 months ago.

Download all attachments as: .zip

Change History (3)

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.

  • 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.