Docs: Improve 4.5 changelog entries introduced in [36992] for wp_authenticate(), and the authenticate and wp_login_failed hooks.

See #9568. See #35986.


git-svn-id: https://develop.svn.wordpress.org/trunk@37030 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-03-17 08:05:51 +00:00
parent 00cae29479
commit 121bbc3b96

View File

@ -501,7 +501,7 @@ if ( !function_exists('wp_authenticate') ) :
* Authenticate a user, confirming the login credentials are valid. * Authenticate a user, confirming the login credentials are valid.
* *
* @since 2.5.0 * @since 2.5.0
* @since 4.5.0 $username can also be an email address. * @since 4.5.0 `$username` now accepts an email address.
* *
* @param string $username User's username or email address. * @param string $username User's username or email address.
* @param string $password User's password. * @param string $password User's password.
@ -519,7 +519,7 @@ function wp_authenticate($username, $password) {
* WP_Error or null otherwise. * WP_Error or null otherwise.
* *
* @since 2.8.0 * @since 2.8.0
* @since 4.5.0 $username can also be an email address. * @since 4.5.0 `$username` now accepts an email address.
* *
* @param null|WP_User|WP_Error $user WP_User if the user is authenticated. * @param null|WP_User|WP_Error $user WP_User if the user is authenticated.
* WP_Error or null otherwise. * WP_Error or null otherwise.
@ -541,7 +541,7 @@ function wp_authenticate($username, $password) {
* Fires after a user login has failed. * Fires after a user login has failed.
* *
* @since 2.5.0 * @since 2.5.0
* @since 4.5.0 $username can also be an email address. * @since 4.5.0 The value of `$username` can now be an email address.
* *
* @param string $username Username or email address. * @param string $username Username or email address.
*/ */