Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -31,7 +31,7 @@ if ( isset($_REQUEST['action']) && 'add-user' == $_REQUEST['action'] ) {
|
||||
elseif ( empty($user['email']) )
|
||||
wp_die( __( 'Missing email.' ) );
|
||||
|
||||
$password = wp_generate_password();
|
||||
$password = wp_generate_password( 12, false);
|
||||
$user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, esc_html( $user['email'] ) );
|
||||
|
||||
if ( false == $user_id )
|
||||
|
||||
Reference in New Issue
Block a user