From 13c02951d1c4c31944d2267396d572a9fc5dc1d9 Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 5 Nov 2009 20:28:46 +0000 Subject: [PATCH] Remove unecessary reference to wpdb global. Fixes 11087 props aaroncampbell. git-svn-id: http://svn.automattic.com/wordpress/trunk@12147 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/registration.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wp-includes/registration.php b/wp-includes/registration.php index 73af76440f..6148bb67eb 100644 --- a/wp-includes/registration.php +++ b/wp-includes/registration.php @@ -283,7 +283,6 @@ function wp_update_user($userdata) { * * @since 2.0.0 * @see wp_insert_user() More complete way to create a new user - * @uses $wpdb Escapes $username and $email parameters * * @param string $username The user's username. * @param string $password The user's password. @@ -291,8 +290,6 @@ function wp_update_user($userdata) { * @return int The new user's ID. */ function wp_create_user($username, $password, $email = '') { - global $wpdb; - $user_login = esc_sql( $username ); $user_email = esc_sql( $email ); $user_pass = $password;