diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index 614812a2c3..e47296ec95 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -640,6 +640,8 @@ case 'get-comments' : case 'replyto-comment' : check_ajax_referer( $action, '_ajax_nonce-replyto-comment' ); + set_current_screen( 'edit-comments' ); + $wp_list_table = get_list_table('WP_Comments_List_Table'); $wp_list_table->checkbox = ( isset($_POST['checkbox']) && true == $_POST['checkbox'] ) ? 1 : 0; diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php index cc421e4a6a..49597cc5b3 100644 --- a/wp-admin/includes/deprecated.php +++ b/wp-admin/includes/deprecated.php @@ -721,7 +721,11 @@ function print_column_headers($screen, $id = true) { $wp_list_table->print_column_headers($id); } -// Helper class to be used only by deprecated functions +/** + * Helper class to be used only by deprecated functions + * + * @since 3.1.0 + */ class _WP_List_Table_Compat extends WP_List_Table { var $_screen; var $_columns;