mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-17 16:15:24 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@32742 git-svn-id: http://core.svn.wordpress.org/trunk@32713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c1c7a7c14c
commit
c11e433858
@ -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 ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32741';
|
||||
$wp_version = '4.3-alpha-32742';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user