After [32740], in `WP_Posts_List_Table::single_row()` - `$lock_holder` is checked but unused, so the call to `get_userdata()` is unnecessary.
See #29881. git-svn-id: https://develop.svn.wordpress.org/trunk@32742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7fbeffec20
commit
52cfab850f
|
@ -1016,7 +1016,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
|||
$lock_holder = wp_check_post_lock( $post->ID );
|
||||
if ( $lock_holder ) {
|
||||
$classes .= ' wp-locked';
|
||||
$lock_holder = get_userdata( $lock_holder );
|
||||
}
|
||||
|
||||
if ( $post->post_parent ) {
|
||||
|
|
Loading…
Reference in New Issue