WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/14/2015 02:29:04 AM (4 years ago)
Author:
johnbillion
Message:

Add missing @param doc to wp_check_password() and update the check_password filter docs.

See #32246

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r35792 r35909  
    20732073 * @uses PasswordHash::CheckPassword
    20742074 *
    2075  * @param string $password Plaintext user's password
    2076  * @param string $hash     Hash of the user's password to check against.
     2075 * @param string     $password Plaintext user's password
     2076 * @param string     $hash     Hash of the user's password to check against.
     2077 * @param string|int $user_id  Optional. User ID.
    20772078 * @return bool False, if the $password does not match the hashed password
    20782079 */
     
    20942095         * @since 2.5.0
    20952096         *
    2096          * @param bool   $check    Whether the passwords match.
    2097          * @param string $password The plaintext password.
    2098          * @param string $hash     The hashed password.
    2099          * @param int    $user_id  User ID.
     2097         * @param bool       $check    Whether the passwords match.
     2098         * @param string     $password The plaintext password.
     2099         * @param string     $hash     The hashed password.
     2100         * @param string|int $user_id  User ID. Can be empty.
    21002101         */
    21012102        return apply_filters( 'check_password', $check, $password, $hash, $user_id );
Note: See TracChangeset for help on using the changeset viewer.