WordPress.org

Make WordPress Core

Ticket #16344: 16344.patch

File 16344.patch, 909 bytes (added by jorbin, 7 years ago)
  • includes/class-wp-comments-list-table.php

     
    4141       }   
    4242
    4343       function prepare_items() {
    44                global $post_id, $comment_status, $search;
     44               global $post_id, $comment_status, $search, $comment_type;
    4545
    4646               $comment_status = isset( $_REQUEST['comment_status'] ) ? $_REQUEST['comment_status'] : 'all';
    4747               if ( !in_array( $comment_status, array( 'all', 'moderated', 'approved', 'spam', 'trash' ) ) )
    4848                       $comment_status = 'all';
    4949