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.
Built from https://develop.svn.wordpress.org/trunk@40960


git-svn-id: http://core.svn.wordpress.org/trunk@40810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-06-29 00:04:43 +00:00
parent 11bae4ded3
commit 165807d39f
2 changed files with 2 additions and 2 deletions

View File

@ -656,7 +656,7 @@ class WP_List_Table {
// No comments at all. // No comments at all.
if ( ! $approved_comments && ! $pending_comments ) { if ( ! $approved_comments && ! $pending_comments ) {
printf( '<span aria-hidden="true"></span><span class="screen-reader-text">%s</span>', printf( '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">%s</span>',
__( 'No comments' ) __( 'No comments' )
); );
// Approved comments have different display depending on some conditions. // Approved comments have different display depending on some conditions.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-40959'; $wp_version = '4.9-alpha-40960';
/** /**
* 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.