Changeset 3121
- Timestamp:
- 11/17/05 01:18:16 (3 years ago)
- Files:
-
- trunk/wp-register.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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) ) {
