mirror of
https://github.com/KevinMidboe/rohnenedre.git
synced 2025-10-29 17:50:37 +00:00
'Relative' class-phpass import.
This commit is contained in:
@@ -1992,7 +1992,7 @@ function wp_hash_password($password) {
|
|||||||
global $wp_hasher;
|
global $wp_hasher;
|
||||||
|
|
||||||
if ( empty($wp_hasher) ) {
|
if ( empty($wp_hasher) ) {
|
||||||
require_once('/Users/kevinmidboe/dev/rohnenedre/public_html/wp-includes/class-phpass.php');
|
require_once( ABSPATH . WPINC . '/class-phpass.php');
|
||||||
// By default, use the portable hash from phpass
|
// By default, use the portable hash from phpass
|
||||||
$wp_hasher = new PasswordHash(8, true);
|
$wp_hasher = new PasswordHash(8, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user