Don't use deprecated functions. Props filosofo. fixes #11807

git-svn-id: http://svn.automattic.com/wordpress/trunk@12878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-27 17:55:39 +00:00
parent 01b992c457
commit fc204c952d
3 changed files with 1 additions and 11 deletions

View File

@ -16,11 +16,6 @@ define( 'WPINC', 'wp-includes' );
*/
function __() {}
/**
* @ignore
*/
function _c() {}
/**
* @ignore
*/

View File

@ -16,11 +16,6 @@ define( 'WPINC', 'wp-includes' );
*/
function __() {}
/**
* @ignore
*/
function _c() {}
/**
* @ignore
*/

View File

@ -489,7 +489,7 @@ switch ( $_GET['action'] ) {
elseif ( empty($user['email']) )
wp_die( __('Missing email.') );
$password = generate_random_password();
$password = wp_generate_password();
$user_id = wpmu_create_user(wp_specialchars( strtolower( $user['username'] ) ), $password, wp_specialchars( $user['email'] ) );
if ( false == $user_id )