Make WordPress Core

Changeset 5087 for trunk/wp-login.php


Ignore:
Timestamp:
03/23/2007 12:59:21 AM (18 years ago)
Author:
matt
Message:

(int)er the dragon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r5064 r5087  
    243243            $user_pass = substr( md5( uniqid( microtime() ) ), 0, 7);
    244244
    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 );
    246246            if ( !$user_id )
    247247                $errors['registerfail'] = sprintf(__('<strong>ERROR</strong>: Couldn&#8217;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.