diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php
index b6dac84bc8..717e84fb9a 100644
|
a
|
b
|
class WP_Posts_List_Table extends WP_List_Table { |
| 1004 | 1004 | $pad = str_repeat( '— ', $this->current_level ); |
| 1005 | 1005 | echo '<strong>'; |
| 1006 | 1006 | |
| 1007 | | $format = get_post_format( $post->ID ); |
| 1008 | | $format_classes = ( $format ) ? 'post-format-icon post-format-' . esc_attr( $format ) : ''; |
| 1009 | | |
| 1010 | 1007 | $title = _draft_or_post_title(); |
| 1011 | 1008 | |
| 1012 | 1009 | if ( $can_edit_post && $post->post_status != 'trash' ) { |
| 1013 | 1010 | printf( |
| 1014 | | '<a class="row-title %s" href="%s" aria-label="%s">%s%s</a>', |
| 1015 | | $format_classes, |
| | 1011 | '<a class="row-title" href="%s" aria-label="%s">%s%s</a>', |
| 1016 | 1012 | get_edit_post_link( $post->ID ), |
| 1017 | 1013 | /* translators: %s: post title */ |
| 1018 | 1014 | esc_attr( sprintf( __( '“%s” (Edit)' ), $title ) ), |
| … |
… |
class WP_Posts_List_Table extends WP_List_Table { |
| 1021 | 1017 | ); |
| 1022 | 1018 | } else { |
| 1023 | 1019 | printf( |
| 1024 | | '<span class="%s">%s%s</span>', |
| 1025 | | $format_classes, |
| | 1020 | '<span>%s%s</span>', |
| 1026 | 1021 | $pad, |
| 1027 | 1022 | $title |
| 1028 | 1023 | ); |