diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index d76b02ba4b..0cba0a1ed0 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -266,6 +266,8 @@ class WP_Comments_List_Table extends WP_List_Table { function display() { extract( $this->_args ); + wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); + $this->display_tablenav( 'top' ); ?> @@ -533,6 +535,8 @@ class WP_Post_Comments_List_Table extends WP_Comments_List_Table { function display( $output_empty = false ) { extract( $this->_args ); + + wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); ?>