mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Post locks: use heartbeat to dynamically update locked posts on the Posts screen, first run, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23487 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -555,7 +555,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
if ( $lock_holder && $can_edit_post && $post->post_status != 'trash' ) {
|
||||
printf( '<span class="lock-holder">%s</span>',
|
||||
esc_html( sprintf( __( '%s is currently editing' ), $lock_holder->display_name ) ) );
|
||||
esc_html( sprintf( __( '%s is currently editing' ), $lock_holder->display_name ) ) );
|
||||
}
|
||||
|
||||
if ( ! $this->hierarchical_display && 'excerpt' == $mode && current_user_can( 'read_post', $post->ID ) )
|
||||
|
||||
Reference in New Issue
Block a user