git-svn-id: https://develop.svn.wordpress.org/trunk@11950 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f5e49c809b
commit
78efafba1d
@ -66,7 +66,7 @@ function edit_user( $user_id = 0 ) {
|
||||
}
|
||||
|
||||
if ( !$update && isset( $_POST['user_login'] ) )
|
||||
$user->user_login = sanitize_user($userdata['user_login'], true);
|
||||
$user->user_login = sanitize_user($_POST['user_login'], true);
|
||||
|
||||
$pass1 = $pass2 = '';
|
||||
if ( isset( $_POST['pass1'] ))
|
||||
|
Loading…
Reference in New Issue
Block a user