Changeset 45136
- Timestamp:
- 04/08/2019 06:03:58 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r44961 r45136 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 */ … … 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
Note: See TracChangeset
for help on using the changeset viewer.