From ae04eba0b6b9caa3773de48af750b008d65cc158 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 22 Nov 2015 15:23:26 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-comments-list-table.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index aafc37a0b3..8a70a1f5de 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/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 ) ) ) . ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 9f7519d0d4..ffb10b18ae 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.