mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@40387 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -100,7 +100,6 @@ require( ABSPATH . WPINC . '/class-wp-matchesmapregex.php' );
|
||||
require( ABSPATH . WPINC . '/class-wp.php' );
|
||||
require( ABSPATH . WPINC . '/class-wp-error.php' );
|
||||
require( ABSPATH . WPINC . '/pomo/mo.php' );
|
||||
require( ABSPATH . WPINC . '/class-phpass.php' );
|
||||
|
||||
// Include the wpdb class and, if present, a db.php database drop-in.
|
||||
global $wpdb;
|
||||
|
||||
Reference in New Issue
Block a user