Make WordPress Core


Ignore:
Timestamp:
12/24/2023 01:03:12 PM (15 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-recovery-mode-key-service.php

    r55397 r57226  
    3939     * @since 5.2.0
    4040     *
    41      * @global PasswordHash $wp_hasher
     41     * @global PasswordHash $wp_hasher Portable PHP password hashing framework instance.
    4242     *
    4343     * @param string $token A token generated by {@see generate_recovery_mode_token()}.
     
    8686     * @since 5.2.0
    8787     *
    88      * @global PasswordHash $wp_hasher
     88     * @global PasswordHash $wp_hasher Portable PHP password hashing framework instance.
    8989     *
    9090     * @param string $token The token used when generating the given key.
Note: See TracChangeset for help on using the changeset viewer.