From 33f8a894cf29e1ccff610179c86a190d540e5542 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 29 Jun 2017 00:03:02 +0000 Subject: [PATCH] Administration: In `WP_List_Table::comments_bubble()`, replace the mdash with its HTML entity for consistency with the similar code in other list tables. Props afercia. See #40659, #32152. git-svn-id: https://develop.svn.wordpress.org/trunk@40960 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index dedfec9340..ee6c6e5700 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -656,7 +656,7 @@ class WP_List_Table { // No comments at all. if ( ! $approved_comments && ! $pending_comments ) { - printf( '%s', + printf( '%s', __( 'No comments' ) ); // Approved comments have different display depending on some conditions.