git-svn-id: http://svn.automattic.com/wordpress/trunk@11950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad83f73957
commit
be1ff7ace1
|
@ -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