Add hook "restrict_manage_comments" to class-wp-comments-list-table.php for additional filtering by plugins
|Reported by:||hardy101||Owned by:||nacin|
The comments list (class-wp-comments-list-table.php) in wp-admin needs a hook to allow plugins to do additional filtering of comments, just like class-wp-posts-list-table.php on line 220.
do_action( 'restrict_manage_posts' );
The new line of code would be in class-wp-comments-list-table.php:
do_action( 'restrict_manage_comments' );
A one-line patch (attached) does the trick.