Skip to content
Browse files

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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 01b992c commit fc204c952d60118127e7ab00e508e249f9be4d14 ryan committed
Showing with 1 addition and 11 deletions.
  1. +0 −5 wp-admin/load-scripts.php
  2. +0 −5 wp-admin/load-styles.php
  3. +1 −1 wp-admin/ms-edit.php
View
5 wp-admin/load-scripts.php
@@ -19,11 +19,6 @@ function __() {}
/**
* @ignore
*/
-function _c() {}
-
-/**
- * @ignore
- */
function _x() {}
View
5 wp-admin/load-styles.php
@@ -19,11 +19,6 @@ function __() {}
/**
* @ignore
*/
-function _c() {}
-
-/**
- * @ignore
- */
function _x() {}
View
2 wp-admin/ms-edit.php
@@ -489,7 +489,7 @@
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 )

0 comments on commit fc204c9

Please sign in to comment.
Something went wrong with that request. Please try again.