Bootstrap/Load: Only load `PasswordHash` class once.
`require_once` prevents errors when loading WordPress and the class already exists. See [40387]. Fixes #39445. Built from https://develop.svn.wordpress.org/branches/4.7@40389 git-svn-id: http://core.svn.wordpress.org/branches/4.7@40296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4430527126
commit
0373a7bd29
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7.4-alpha-40388';
|
||||
$wp_version = '4.7.4-alpha-40389';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue