Make WordPress Core

Opened 4 years ago

Closed 21 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:


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 4 years ago.
18596.2.patch (770 bytes) - added by c3mdigital 22 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.

@johnbillion4 years ago

comment:2 @johnbillion4 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 @c3mdigital22 months ago

  • Keywords needs-refresh added

@c3mdigital22 months ago

Refresh or original patch

comment:4 @c3mdigital22 months ago

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

comment:5 @SergeyBiryukov22 months ago

  • Milestone changed from Awaiting Review to 3.7

comment:6 @helen21 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.