Ticket #18596: 18596.2.patch
File 18596.2.patch, 770 bytes (added by , 11 years ago) |
---|
-
wp-admin/includes/class-wp-comments-list-table.php
52 52 53 53 $search = ( isset( $_REQUEST['s'] ) ) ? $_REQUEST['s'] : ''; 54 54 55 $post_type = ( isset( $_REQUEST['post_type'] ) ) ? $_REQUEST['post_type'] : ''; 56 55 57 $user_id = ( isset( $_REQUEST['user_id'] ) ) ? $_REQUEST['user_id'] : ''; 56 58 57 59 $orderby = ( isset( $_REQUEST['orderby'] ) ) ? $_REQUEST['orderby'] : ''; … … 96 98 'type' => $comment_type, 97 99 'orderby' => $orderby, 98 100 'order' => $order, 101 'post_type' => $post_type, 99 102 ); 100 103 101 104 $_comments = get_comments( $args );