'Relative' class-phpass import.

This commit is contained in:
2021-04-22 23:01:08 +02:00
parent dd232da871
commit f674dcb018

View File

@@ -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);
} }