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:
Andrew Ozz
2013-02-25 23:17:10 +00:00
parent 12a8779a74
commit 756c28bf5c
5 changed files with 55 additions and 1 deletions
@@ -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 ) )