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

git-svn-id: https://develop.svn.wordpress.org/trunk@12878 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-01-27 17:55:39 +00:00
parent fd48be5b71
commit 19136bb073
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 )