Skip to content

Commit 2e3574c

Browse files
Never show notes on the comments page
1 parent 81f7558 commit 2e3574c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/wp-admin/edit-comments.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
);
1717
}
1818

19+
// Never show notes on the comments page.
20+
if ( 'note' === $_REQUEST['comment_type'] ) {
21+
unset( $_REQUEST['comment_type'] );
22+
}
23+
1924
$wp_list_table = _get_list_table( 'WP_Comments_List_Table' );
2025
$pagenum = $wp_list_table->get_pagenum();
2126

0 commit comments

Comments
 (0)