wordpress登录注册密码加密函数
function wp_hash_password($password) {global $wp_hasher;
if ( empty($wp_hasher) ) {
// By default, use the portable hash from phpass
$wp_hasher = new PasswordHash(8, true);
}
return $wp_hasher->HashPassword( trim( $password ) );
}
在文件:wp-includes/pluggable.php 这里面,包括注册登录的部分函数
--------------------------------------------------------------------------------------
页:
[1]