Ticket #55555: 55555.diff
File 55555.diff, 1.6 KB (added by , 18 months ago) |
---|
-
src/wp-admin/includes/class-wp-media-list-table.php
351 351 if ( ! $this->detached ) { 352 352 $posts_columns['parent'] = _x( 'Uploaded to', 'column name' ); 353 353 if ( post_type_supports( 'attachment', 'comments' ) ) { 354 $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '" ><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';354 $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '" aria-hidden="true"></span><span class="screen-reader-text">' . __( 'Comments' ) . '</span>'; 355 355 } 356 356 } 357 357 -
src/wp-admin/includes/class-wp-posts-list-table.php
691 691 && ! in_array( $post_status, array( 'pending', 'draft', 'future' ), true ) 692 692 ) { 693 693 $posts_columns['comments'] = sprintf( 694 '<span class="vers comment-grey-bubble" title="%1$s" ><span class="screen-reader-text">%2$s</span></span>',694 '<span class="vers comment-grey-bubble" title="%1$s" aria-hidden="true"></span><span class="screen-reader-text">%2$s</span>', 695 695 esc_attr__( 'Comments' ), 696 696 __( 'Comments' ) 697 697 );