From 1ea23b6fcc4239889556dee9226f24ea9c061260 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 28 Apr 2004 04:59:54 +0000 Subject: [PATCH] Not check email on admin creation of users. git-svn-id: https://develop.svn.wordpress.org/trunk@1199 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 -

- +

+