WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 7 years ago

#9013 closed enhancement (invalid)

Allow _wp_get_comment_list() to return comments for a custom status

Reported by: Viper007Bond Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Comments Keywords:
Focuses: Cc:

Description

http://groups.google.com/group/wp-hackers/browse_thread/thread/059d1ada02ccec5e

There's a filter on edit-comments.php to allow adding new status types at the top of the page, but no way I can see to display those custom status comments as _wp_get_comment_list() is hard coded to only allow certain statuses.

There should be a filter on either the whole MySQL query or at least the status bit.

Change History (4)

#1 @Denis-de-Bernardy
10 years ago

  • Milestone changed from 2.8 to Future Release

#2 @Denis-de-Bernardy
10 years ago

  • Component changed from Administration to Comments

#3 @Japh
7 years ago

  • Cc japh@… added

Perhaps I'm blind, but I can find neither the filter mentioned, nor the function mentioned. Is this still something that needs fixing or can this ticket be closed?

#4 @SergeyBiryukov
7 years ago

  • Keywords needs-patch removed
  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

comment_status_links filter was moved to wp-admin/includes/default-list-tables.php in [15578] and removed in [15955].

_wp_get_comment_list() was removed in [15491].

ticket:11329:24 suggests using comments_clauses filter for a similar task.

Note: See TracTickets for help on using tickets.