Bootstrap/Load: Only load `PasswordHash` class once.

`require_once` prevents errors when loading WordPress and the class already exists.

See [40387].
Fixes #39445. 


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40389 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pascal Birchler 2017-04-06 18:22:32 +00:00
parent 4b3c4765dd
commit 4c580ff912
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ 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' );
require_once( ABSPATH . WPINC . '/class-phpass.php' );
// Include the wpdb class and, if present, a db.php database drop-in.
global $wpdb;