Created
July 26, 2011 01:42
-
-
Save dwc/1105744 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: wp-admin/network/user-new.php | |
=================================================================== | |
--- wp-admin/network/user-new.php (revision 18465) | |
+++ wp-admin/network/user-new.php (working copy) | |
@@ -40,7 +40,7 @@ | |
$add_user_errors = $user_details[ 'errors' ]; | |
} else { | |
$password = wp_generate_password( 12, false); | |
- $user_id = wpmu_create_user( esc_html( strtolower( $user['username'] ) ), $password, esc_html( $user['email'] ) ); | |
+ $user_id = wpmu_create_user( esc_html( $user['username'] ), $password, esc_html( $user['email'] ) ); | |
if ( ! $user_id ) { | |
$add_user_errors = new WP_Error( 'add_user_fail', __( 'Cannot add user.' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment