Ticket #16344: 16344.patch
File 16344.patch, 909 bytes (added by , 14 years ago) |
---|
-
includes/class-wp-comments-list-table.php
41 41 } 42 42 43 43 function prepare_items() { 44 global $post_id, $comment_status, $search ;44 global $post_id, $comment_status, $search, $comment_type; 45 45 46 46 $comment_status = isset( $_REQUEST['comment_status'] ) ? $_REQUEST['comment_status'] : 'all'; 47 47 if ( !in_array( $comment_status, array( 'all', 'moderated', 'approved', 'spam', 'trash' ) ) ) 48 48 $comment_status = 'all'; 49 49