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. */