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
This commit is contained in:
Sergey Biryukov 2015-11-22 15:22:38 +00:00
parent 3e634c753e
commit b513ea197b

View File

@ -263,7 +263,7 @@ class WP_Comments_List_Table extends WP_List_Table {
$status_links[ $status ] = "<a href='$link'$class>" . sprintf(
translate_nooped_plural( $label, $num_comments->$status ),
sprintf( '<span class="%s-count">%s</span>',
$status,
( 'moderated' === $status ) ? 'pending' : $status,
number_format_i18n( $num_comments->$status )
)
) . '</a>';