Ticket #33002: 33002.diff
| File 33002.diff, 919 bytes (added by , 11 years ago) |
|---|
-
wp-admin/includes/class-wp-posts-list-table.php
1140 1140 $actions = array(); 1141 1141 1142 1142 if ( $can_edit_post && 'trash' != $post->post_status ) { 1143 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID ) . '" title="' . esc_attr__( 'Edit this item' ) . '">' . __( 'Edit' ) . '</a>'; 1143 $title = _draft_or_post_title(); 1144 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID ) . '" title="' . esc_attr__(sprintf( __( 'Edit “%s”' ), $title ) ) . '" aria-hidden="true">' . __( 'Edit' ) . '</a>'; 1144 1145 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . esc_attr__( 'Edit this item inline' ) . '">' . __( 'Quick Edit' ) . '</a>'; 1145 1146 } 1146 1147