Comments: After [35670], change the CSS class for the pending comments count back to `moderated`.
Fixes #34680. Built from https://develop.svn.wordpress.org/trunk@35726 git-svn-id: http://core.svn.wordpress.org/trunk@35690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc1e479fd0
commit
ae04eba0b6
|
@ -263,7 +263,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||||
$status_links[ $status ] = "<a href='$link'$class>" . sprintf(
|
$status_links[ $status ] = "<a href='$link'$class>" . sprintf(
|
||||||
translate_nooped_plural( $label, $num_comments->$status ),
|
translate_nooped_plural( $label, $num_comments->$status ),
|
||||||
sprintf( '<span class="%s-count">%s</span>',
|
sprintf( '<span class="%s-count">%s</span>',
|
||||||
$status,
|
( 'moderated' === $status ) ? 'pending' : $status,
|
||||||
number_format_i18n( $num_comments->$status )
|
number_format_i18n( $num_comments->$status )
|
||||||
)
|
)
|
||||||
) . '</a>';
|
) . '</a>';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-beta4-35725';
|
$wp_version = '4.4-beta4-35726';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue