WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/29/2014 10:11:44 PM (7 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-includes/pluggable.php

    r28793 r28903  
    18611861
    18621862    if ( empty($wp_hasher) ) {
    1863         require_once( ABSPATH . 'wp-includes/class-phpass.php');
     1863        require_once( ABSPATH . WPINC . '/class-phpass.php');
    18641864        // By default, use the portable hash from phpass
    18651865        $wp_hasher = new PasswordHash(8, true);
     
    19191919    // new style phpass portable hash.
    19201920    if ( empty($wp_hasher) ) {
    1921         require_once( ABSPATH . 'wp-includes/class-phpass.php');
     1921        require_once( ABSPATH . WPINC . '/class-phpass.php');
    19221922        // By default, use the portable hash from phpass
    19231923        $wp_hasher = new PasswordHash(8, true);
Note: See TracChangeset for help on using the changeset viewer.