WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 18 months ago

#18596 closed enhancement (fixed)

Not possible to filter comment screen by post type

Reported by: johnbillion Owned by: helen
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: has-patch
Focuses: 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 (2)

18596.patch (775 bytes) - added by johnbillion 3 years ago.
18596.2.patch (770 bytes) - added by c3mdigital 20 months ago.
Refresh or original patch

Download all attachments as: .zip

Change History (8)

comment:1 @nacin4 years ago

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.

@johnbillion3 years ago

comment:2 @johnbillion3 years 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.

comment:3 @c3mdigital20 months ago

  • Keywords needs-refresh added

@c3mdigital20 months ago

Refresh or original patch

comment:4 @c3mdigital20 months ago

  • Keywords needs-refresh removed
  • Version changed from 3.3 to 3.1

comment:5 @SergeyBiryukov20 months ago

  • Milestone changed from Awaiting Review to 3.7

comment:6 @helen18 months ago

  • Owner set to helen
  • Resolution set to fixed
  • Status changed from new to closed

In 25526:

Make it possible to filter comment screen by post type; no UI. props johnbillion, c3mdigital. fixes #18596.

Note: See TracTickets for help on using tickets.