Comment type filter doesn't persist across views
|Reported by:||duck_||Owned by:||duck_|
- Visit edit-comments.php
- Filter to only show pings
- Switch to a different view (e.g. Approved)
Expected (as seen on 3.0.x): pings only filter to stay in effect
Actual: all comment types are displayed again
Patch attached simply globalizes $comment_type in get_views().
If this is no longer desired behaviour we can remove the dead code instead.