From 121bbc3b96e90aa8c39f31b3b66c61e246fe5d99 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 17 Mar 2016 08:05:51 +0000 Subject: [PATCH] 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 --- src/wp-includes/pluggable.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index b69942c866..31533d5113 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -501,7 +501,7 @@ if ( !function_exists('wp_authenticate') ) : * Authenticate a user, confirming the login credentials are valid. * * @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 $password User's password. @@ -519,7 +519,7 @@ function wp_authenticate($username, $password) { * WP_Error or null otherwise. * * @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. * WP_Error or null otherwise. @@ -541,7 +541,7 @@ function wp_authenticate($username, $password) { * Fires after a user login has failed. * * @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. */