X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/784f914b1e4b1c62d6657e86397c2e83bcee4295..refs/tags/wordpress-4.6.1:/wp-admin/includes/class-wp-comments-list-table.php diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index a5f96939..116a55e0 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -166,7 +166,7 @@ class WP_Comments_List_Table extends WP_List_Table { public function get_per_page( $comment_status = 'all' ) { $comments_per_page = $this->get_items_per_page( 'edit_comments_per_page' ); /** - * Filter the number of comments listed per page in the comments list table. + * Filters the number of comments listed per page in the comments list table. * * @since 2.6.0 * @@ -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( @@ -270,7 +269,7 @@ class WP_Comments_List_Table extends WP_List_Table { } /** - * Filter the comment status links. + * Filters the comment status links. * * @since 2.5.0 * @@ -330,7 +329,7 @@ class WP_Comments_List_Table extends WP_List_Table {