We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb019e4 commit d2b23a7Copy full SHA for d2b23a7
src/wp-admin/includes/class-wp-comments-list-table.php
@@ -99,8 +99,11 @@ public function prepare_items() {
99
$comment_status = 'all';
100
}
101
102
- $comment_type = ! empty( $_REQUEST['comment_type'] ) ? $_REQUEST['comment_type'] : '';
103
- $comment_type = 'note' === $comment_type ? '' : $comment_type;
+ $comment_type = '';
+
104
+ if ( ! empty( $_REQUEST['comment_type'] ) && 'note' !== $_REQUEST['comment_type'] ) {
105
+ $comment_type = $_REQUEST['comment_type'];
106
+ }
107
108
$search = ( isset( $_REQUEST['s'] ) ) ? $_REQUEST['s'] : '';
109
0 commit comments