From 230f2986fb744a9d0dcaa09a448f9982b26322d6 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Thu, 2 Jun 2016 15:06:29 +0000 Subject: [PATCH] Comments: Remove debugging code left in `WP_Comments_List_Table->get_views()`. Originally introduced in [9556] and leftover from [15578]. Props dabnpits. Fixes #36938. git-svn-id: https://develop.svn.wordpress.org/trunk@37624 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-comments-list-table.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php index b1f6f542ff..6e27a3fa2e 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -201,8 +201,7 @@ class WP_Comments_List_Table extends WP_List_Table { $status_links = array(); $num_comments = ( $post_id ) ? wp_count_comments( $post_id ) : wp_count_comments(); - //, number_format_i18n($num_comments->moderated) ), "" . number_format_i18n($num_comments->moderated) . ""), - //, number_format_i18n($num_comments->spam) ), "" . number_format_i18n($num_comments->spam) . "") + $stati = array( /* translators: %s: all comments count */ 'all' => _nx_noop(