diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 9e6ae4c278..45fe5ecea3 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -185,19 +185,19 @@ switch ( $action ) { // Intentional fall-through to display $errors. default: - $profileuser = get_user_to_edit( $user_id ); + $profile_user = get_user_to_edit( $user_id ); if ( ! current_user_can( 'edit_user', $user_id ) ) { wp_die( __( 'Sorry, you are not allowed to edit this user.' ) ); } - $title = sprintf( $title, $profileuser->display_name ); - $sessions = WP_Session_Tokens::get_instance( $profileuser->ID ); + $title = sprintf( $title, $profile_user->display_name ); + $sessions = WP_Session_Tokens::get_instance( $profile_user->ID ); require_once ABSPATH . 'wp-admin/admin-header.php'; ?> - ID ) && current_user_can( 'manage_network_options' ) ) { ?> + ID ) && current_user_can( 'manage_network_options' ) ) { ?>

@@ -270,7 +270,7 @@ switch ( $action ) { -