WordPress.org

Make WordPress Core

Ticket #51379: 51379.5.diff

File 51379.5.diff, 884 bytes (added by garrett-eclipse, 7 months ago)

Docblock improvement I missed getting into my patches.

  • src/wp-includes/user.php

     
    16171617 * Conditional Tags} article in the Theme Developer Handbook.
    16181618 *
    16191619 * @since 2.1.0
     1620 * @since 5.6.0 Introduced `email_exists` filter.
    16201621 *
    1621  * @param string $email Email.
     1622 * @param string $email The email to check for existence.
    16221623 * @return int|false The user ID on success, false on failure.
    16231624 */
    16241625function email_exists( $email ) {
     
    16361637         *
    16371638         * @param int|false $user_id The user ID associated with the email,
    16381639         *                           or false if the email does not exist.
    1639          * @param string    $email   Email.
     1640         * @param string    $email   The email to check for existence.
    16401641         */
    16411642        return apply_filters( 'email_exists', $user_id, $email );
    16421643}