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-login.php

    r40048 r40387  
    439439    }
    440440
     441    require_once ABSPATH . WPINC . '/class-phpass.php';
    441442    $hasher = new PasswordHash( 8, true );
    442443
Note: See TracChangeset for help on using the changeset viewer.