diff --git wp-admin/includes/class-wp-posts-list-table.php wp-admin/includes/class-wp-posts-list-table.php
index 996dc4f..6ae0d2a 100644
|
|
class WP_Posts_List_Table extends WP_List_Table { |
554 | 554 | echo "</strong>\n"; |
555 | 555 | |
556 | 556 | if ( $lock_holder && $can_edit_post && $post->post_status != 'trash' ) { |
557 | | printf( '<span class="lock-holder">%s</span>', |
| 557 | printf( '<span class="lock-holder">%s %s</span>', |
| 558 | get_avatar( $lock_holder->ID, 18 ), |
558 | 559 | esc_html( sprintf( __( '%s is currently editing' ), $lock_holder->display_name ) ) ); |
559 | 560 | } |
560 | 561 | |
diff --git wp-admin/includes/misc.php wp-admin/includes/misc.php
index b1ee77a..c40f751 100644
|
|
function wp_check_locked_posts( $response, $data ) { |
575 | 575 | |
576 | 576 | if ( current_user_can( 'edit_post', $post_id ) && ( $user_id = wp_check_post_lock( $post_id ) ) ) { |
577 | 577 | if ( $user = get_userdata( $user_id ) ) |
578 | | $checked[$key] = sprintf( __( '%s is currently editing' ), $user->display_name ); |
| 578 | $checked[$key] = get_avatar( $user_id, 18 ) . ' ' . sprintf( __( '%s is currently editing' ), $user->display_name ); |
579 | 579 | } |
580 | 580 | } |
581 | 581 | } |
diff --git wp-admin/js/edit-post.js wp-admin/js/edit-post.js
index ef581c7..a2829bf 100644
|
|
|
7 | 7 | |
8 | 8 | if ( locked.hasOwnProperty( key ) ) { |
9 | 9 | if ( ! row.hasClass('wp-locked') ) |
10 | | row.addClass('wp-locked').find('.column-title strong').after( $('<span class="lock-holder" />').text(locked[key]) ); |
| 10 | row.addClass('wp-locked').find('.column-title strong').after( $('<span class="lock-holder" />').html(locked[key]) ); |
11 | 11 | row.find('.check-column checkbox').prop('checked', false); |
12 | 12 | } else if ( row.hasClass('wp-locked') ) { |
13 | 13 | row.removeClass('wp-locked').find('.column-title span.lock-holder').remove(); |