Changeset 3121
- Timestamp:
- 11/17/2005 01:18:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-register.php
r2872 r3121 30 30 if ( username_exists( $user_login ) ) 31 31 $errors['user_login'] = __('<strong>ERROR</strong>: This username is already registered, please choose another one.'); 32 33 /* checking the email isn't already used by another user */ 34 $email_exists = $wpdb->get_row("SELECT user_email FROM $wpdb->users WHERE user_email = '$user_email'"); 35 if ( $email_exists) 36 die (__('<strong>ERROR</strong>: This email address is already registered, please supply another.')); 32 37 33 38 if ( 0 == count($errors) ) {
Note: See TracChangeset
for help on using the changeset viewer.