Make WordPress Core

Opened 4 years ago

Closed 2 years 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 2 years ago.
Refresh or original patch

Download all attachments as: .zip

Change History (8)

#1 @nacin
4 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.

4 years ago

#2 @johnbillion
4 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.

#3 @c3mdigital
2 years ago

  • Keywords needs-refresh added

2 years ago

Refresh or original patch

#4 @c3mdigital
2 years ago

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

#5 @SergeyBiryukov
2 years ago

  • Milestone changed from Awaiting Review to 3.7

#6 @helen
2 years 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.