Changeset 11929 for trunk/wp-includes/registration.php
- Timestamp:
- 09/14/2009 01:57:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/registration.php
r11852 r11929 170 170 $user_nicename_check = $wpdb->get_var( $wpdb->prepare("SELECT ID FROM $wpdb->users WHERE user_nicename = %s AND user_login != %s LIMIT 1" , $user_nicename, $user_login)); 171 171 172 if ( $user_nicename_check) {172 if ( $user_nicename_check ) { 173 173 $suffix = 2; 174 174 while ($user_nicename_check) { … … 199 199 update_usermeta( $user_id, 'admin_color', $admin_color); 200 200 update_usermeta( $user_id, 'use_ssl', $use_ssl); 201 foreach (_wp_get_user_contactmethods() as $method => $name) { 201 202 foreach ( _wp_get_user_contactmethods() as $method => $name ) { 202 203 if ( empty($$method) ) 203 204 $$method = ''; 204 205 205 206 update_usermeta( $user_id, $method, $$method ); 206 207 }
Note: See TracChangeset
for help on using the changeset viewer.