WordPress.org

Make WordPress Core

Changeset 36992


Ignore:
Timestamp:
03/14/2016 10:30:31 PM (6 years ago)
Author:
johnbillion
Message:

Users: Add @since entries to wp_authenticate() and its filters now that the $username parameter can also be an email address.

See #9568, #35986

File:
1 edited

Legend:

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

    r36800 r36992  
    502502 *
    503503 * @since 2.5.0
     504 * @since 4.5.0 $username can also be an email address.
    504505 *
    505506 * @param string $username User's username or email address.
     
    519520     *
    520521     * @since 2.8.0
     522     * @since 4.5.0 $username can also be an email address.
    521523     *
    522524     * @param null|WP_User|WP_Error $user     WP_User if the user is authenticated.
    523525     *                                        WP_Error or null otherwise.
    524      * @param string                $username User login.
     526     * @param string                $username Username or email address.
    525527     * @param string                $password User password
    526528     */
     
    540542         *
    541543         * @since 2.5.0
     544         * @since 4.5.0 $username can also be an email address.
    542545         *
    543          * @param string $username User login.
     546         * @param string $username Username or email address.
    544547         */
    545548        do_action( 'wp_login_failed', $username );
Note: See TracChangeset for help on using the changeset viewer.