WordPress.org

Make WordPress Core

Changeset 40960


Ignore:
Timestamp:
06/29/2017 12:03:02 AM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r39600 r40960  
    657657        // No comments at all.
    658658        if ( ! $approved_comments && ! $pending_comments ) {
    659             printf( '<span aria-hidden="true"></span><span class="screen-reader-text">%s</span>',
     659            printf( '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">%s</span>',
    660660                __( 'No comments' )
    661661            );
Note: See TracChangeset for help on using the changeset viewer.