Docs: Document the $wp_hasher global in wp_generate_user_request_key().

Includes adding a description for the global in a few other functions.

Follow-up to [42791], [42964], [43008].

Props viralsampat.
See #60021.

git-svn-id: https://develop.svn.wordpress.org/trunk@57226 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2023-12-24 13:03:12 +00:00
parent c973689ff4
commit e98fe1f0d7
3 changed files with 10 additions and 6 deletions

View File

@@ -2528,7 +2528,7 @@ if ( ! function_exists( 'wp_hash_password' ) ) :
*
* @since 2.5.0
*
* @global PasswordHash $wp_hasher PHPass object
* @global PasswordHash $wp_hasher PHPass object.
*
* @param string $password Plain text user password to hash.
* @return string The hash string of the password.