From b513ea197bad01d70ad7e370ff98414a5d62142a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 22 Nov 2015 15:22:38 +0000 Subject: [PATCH] Comments: After [35670], change the CSS class for the pending comments count back to `moderated`. Fixes #34680. git-svn-id: https://develop.svn.wordpress.org/trunk@35726 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-comments-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 aafc37a0b3..8a70a1f5de 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -263,7 +263,7 @@ class WP_Comments_List_Table extends WP_List_Table { $status_links[ $status ] = "" . sprintf( translate_nooped_plural( $label, $num_comments->$status ), sprintf( '%s', - $status, + ( 'moderated' === $status ) ? 'pending' : $status, number_format_i18n( $num_comments->$status ) ) ) . '';