WordPress.org

Make WordPress Core

Changeset 38304


Ignore:
Timestamp:
08/22/2016 04:47:19 AM (3 years ago)
Author:
wonderboymusic
Message:

Login: retrieve_password() does not need to import 2 globals that it does not use.

See #37699.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r37703 r38304  
    286286 * Handles sending password retrieval email to user.
    287287 *
    288  * @global wpdb         $wpdb      WordPress database abstraction object.
    289  * @global PasswordHash $wp_hasher Portable PHP password hashing framework.
    290  *
    291288 * @return bool|WP_Error True: when finish. WP_Error on error
    292289 */
    293290function retrieve_password() {
    294     global $wpdb, $wp_hasher;
    295 
    296291    $errors = new WP_Error();
    297292
Note: See TracChangeset for help on using the changeset viewer.