diff options
Diffstat (limited to 'wp-admin/user-edit.php')
-rw-r--r-- | wp-admin/user-edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 1731520..9583ddf 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -44,7 +44,7 @@ if( !is_wp_error( $errors ) ) { default: include ('admin-header.php'); -$profileuser = new WP_User($user_id); +$profileuser = get_user_to_edit($user_id); if ( !current_user_can('edit_user', $user_id) ) if ( !is_wp_error( $errors ) ) |