WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/06/2017 06:00:16 PM (3 years ago)
Author:
swissspidy
Message:

Load: Only load PasswordHash class when needed.

This reverts [38371] which loaded class-phpass.php early in wp-settings.php and in turn caused backward compatibility problems.

Props DavidAnderson, ketuchetan.
Fixes #39445.

File:
1 edited

Legend:

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

    r39369 r40387  
    101101require( ABSPATH . WPINC . '/class-wp-error.php' );
    102102require( ABSPATH . WPINC . '/pomo/mo.php' );
    103 require( ABSPATH . WPINC . '/class-phpass.php' );
    104103
    105104// Include the wpdb class and, if present, a db.php database drop-in.
Note: See TracChangeset for help on using the changeset viewer.