From 0b144006449d0129fedeb62a419bb3c62ee81350 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Wed, 28 Apr 2004 04:59:54 +0000 Subject: [PATCH] Not check email on admin creation of users. git-svn-id: http://svn.automattic.com/wordpress/trunk@1199 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/users.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/wp-admin/users.php b/wp-admin/users.php index b085063842..b9cd657fa4 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -51,13 +51,6 @@ case 'adduser': } $user_nickname = $user_login; - /* checking e-mail address */ - if ($user_email == '') { - die (__('ERROR: Please type your e-mail address.')); - } else if (!is_email($user_email)) { - die (__('ERROR: The email address isn’t correct.')); - } - /* checking the login isn't already used by another user */ $loginthere = $wpdb->get_var("SELECT user_login FROM $tableusers WHERE user_login = '$user_login'"); if ($loginthere) { @@ -304,8 +297,8 @@ echo "\n -

- +

+