WordPress.org

Make WordPress Core

Ticket #31756: docblock_update.31756.diff

File docblock_update.31756.diff, 546 bytes (added by lamosty, 6 years ago)

Patch updating DocBlock of check_password_reset_key()

  • src/wp-includes/user.php

    diff --git src/wp-includes/user.php src/wp-includes/user.php
    index 6b6f435..6090239 100644
    function wp_get_password_hint() { 
    22342234 * but have a different WP_Error code so good user feedback can be provided.
    22352235 *
    22362236 * @global wpdb $wpdb WordPress database object for queries.
     2237 * @global PasswordHash $wp_hasher Portable PHP password hashing framework.
    22372238 *
    22382239 * @param string $key       Hash to validate sending user's password.
    22392240 * @param string $login     The user login.