WordPress.org

Make WordPress Core

Ticket #20281: 20281.diff

File 20281.diff, 525 bytes (added by duck_, 6 years ago)
  • wp-admin/includes/class-wp-comments-list-table.php

     
    136136        }
    137137
    138138        function get_views() {
    139                 global $post_id, $comment_status;
     139                global $post_id, $comment_status, $comment_type;
    140140
    141141                $status_links = array();
    142142                $num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments();