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:
Scott Taylor 2015-06-12 20:48:26 +00:00
parent c1c7a7c14c
commit c11e433858
2 changed files with 1 additions and 2 deletions

View File

@ -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 ) {

View File

@ -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.