From fc204c952d60118127e7ab00e508e249f9be4d14 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 27 Jan 2010 17:55:39 +0000 Subject: [PATCH] Don't use deprecated functions. Props filosofo. fixes #11807 git-svn-id: http://svn.automattic.com/wordpress/trunk@12878 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/load-scripts.php | 5 ----- wp-admin/load-styles.php | 5 ----- wp-admin/ms-edit.php | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/wp-admin/load-scripts.php b/wp-admin/load-scripts.php index b01ba30e2c..ed9cc9ded3 100644 --- a/wp-admin/load-scripts.php +++ b/wp-admin/load-scripts.php @@ -16,11 +16,6 @@ define( 'WPINC', 'wp-includes' ); */ function __() {} -/** - * @ignore - */ -function _c() {} - /** * @ignore */ diff --git a/wp-admin/load-styles.php b/wp-admin/load-styles.php index 1e10c47a94..e9673e26b0 100644 --- a/wp-admin/load-styles.php +++ b/wp-admin/load-styles.php @@ -16,11 +16,6 @@ define( 'WPINC', 'wp-includes' ); */ function __() {} -/** - * @ignore - */ -function _c() {} - /** * @ignore */ diff --git a/wp-admin/ms-edit.php b/wp-admin/ms-edit.php index 167a2e563d..984a480e96 100644 --- a/wp-admin/ms-edit.php +++ b/wp-admin/ms-edit.php @@ -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 )