diff --git a/src/wp-login.php b/src/wp-login.php index 01c754f00d..2d02ed2248 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -285,14 +285,9 @@ function wp_login_viewport_meta() { /** * Handles sending password retrieval email to user. * - * @global wpdb $wpdb WordPress database abstraction object. - * @global PasswordHash $wp_hasher Portable PHP password hashing framework. - * * @return bool|WP_Error True: when finish. WP_Error on error */ function retrieve_password() { - global $wpdb, $wp_hasher; - $errors = new WP_Error(); if ( empty( $_POST['user_login'] ) ) {