Docs: Improve 4.5 changelog entries introduced in [36992] for `wp_authenticate()`, and the `authenticate` and `wp_login_failed` hooks.
See #9568. See #35986. Built from https://develop.svn.wordpress.org/trunk@37030 git-svn-id: http://core.svn.wordpress.org/trunk@36997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e899cc7ae5
commit
11ab384086
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-beta4-37029';
|
$wp_version = '4.5-beta4-37030';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue