WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/15/2020 12:14:51 AM (8 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve description of the $email parameter in email_exists().

Follow-up to [49148].

Props garrett-eclipse.
See #51379.

File:
1 edited

Legend:

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

    r49148 r49153  
    16051605     * @param int|false $user_id  The user ID associated with the username,
    16061606     *                            or false if the username does not exist.
    1607      * @param string    $username Username to check.
     1607     * @param string    $username The username to check for existence.
    16081608     */
    16091609    return apply_filters( 'username_exists', $user_id, $username );
     
    16191619 * @since 2.1.0
    16201620 *
    1621  * @param string $email Email.
     1621 * @param string $email The email to check for existence.
    16221622 * @return int|false The user ID on success, false on failure.
    16231623 */
     
    16371637     * @param int|false $user_id The user ID associated with the email,
    16381638     *                           or false if the email does not exist.
    1639      * @param string    $email   Email.
     1639     * @param string    $email   The email to check for existence.
    16401640     */
    16411641    return apply_filters( 'email_exists', $user_id, $email );
Note: See TracChangeset for help on using the changeset viewer.