WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/26/2016 05:39:37 PM (4 years ago)
Author:
wonderboymusic
Message:

Load: load class-phpass.php (PasswordHash class) early in wp-settings.php, instead of require_once()'ing it in several places.

See #36335.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/user.php

    r38125 r38371  
    20962096    // Now insert the key, hashed, into the DB.
    20972097    if ( empty( $wp_hasher ) ) {
    2098         require_once ABSPATH . WPINC . '/class-phpass.php';
    20992098        $wp_hasher = new PasswordHash( 8, true );
    21002099    }
     
    21412140
    21422141    if ( empty( $wp_hasher ) ) {
    2143         require_once ABSPATH . WPINC . '/class-phpass.php';
    21442142        $wp_hasher = new PasswordHash( 8, true );
    21452143    }
Note: See TracChangeset for help on using the changeset viewer.