diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index c4d323cf89..29343f78a0 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -99,7 +99,11 @@ class WP_Comments_List_Table extends WP_List_Table { $comment_status = 'all'; } - $comment_type = ! empty( $_REQUEST['comment_type'] ) ? $_REQUEST['comment_type'] : ''; + $comment_type = ''; + + if ( ! empty( $_REQUEST['comment_type'] ) && 'note' !== $_REQUEST['comment_type'] ) { + $comment_type = $_REQUEST['comment_type']; + } $search = ( isset( $_REQUEST['s'] ) ) ? $_REQUEST['s'] : ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 8d45e32592..5bf794d43b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-beta4-61182'; +$wp_version = '6.9-beta4-61183'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.