Changeset 5087 for trunk/wp-login.php
- Timestamp:
- 03/23/2007 12:59:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r5064 r5087 243 243 $user_pass = substr( md5( uniqid( microtime() ) ), 0, 7); 244 244 245 $user_id = wp_create_user( $user_login, $user_pass, $user_email );245 $user_id = (int) wp_create_user( $user_login, $user_pass, $user_email ); 246 246 if ( !$user_id ) 247 247 $errors['registerfail'] = sprintf(__('<strong>ERROR</strong>: Couldn’t register you... please contact the <a href="mailto:%s">webmaster</a> !'), get_option('admin_email'));
Note: See TracChangeset
for help on using the changeset viewer.