Make WordPress Core


Ignore:
Timestamp:
06/29/2014 10:11:44 PM (10 years ago)
Author:
wonderboymusic
Message:

Use the WPINC constant when loading class-phpass.php

Props wojtek.szkutnik
See #14157.

File:
1 edited

Legend:

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

    r28896 r28903  
    349349    // Now insert the key, hashed, into the DB.
    350350    if ( empty( $wp_hasher ) ) {
    351         require_once ABSPATH . 'wp-includes/class-phpass.php';
     351        require_once ABSPATH . WPINC . '/class-phpass.php';
    352352        $wp_hasher = new PasswordHash( 8, true );
    353353    }
     
    451451
    452452case 'postpass' :
    453     require_once ABSPATH . 'wp-includes/class-phpass.php';
     453    require_once ABSPATH . WPINC . '/class-phpass.php';
    454454    $hasher = new PasswordHash( 8, true );
    455455
Note: See TracChangeset for help on using the changeset viewer.