Correct a parameter name for the `allow_password_reset` filter so its entry on developer.wordpress.org displays correctly.
See #32246 Built from https://develop.svn.wordpress.org/trunk@35969 git-svn-id: http://core.svn.wordpress.org/trunk@35934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3cba9d7f61
commit
26dfc6159f
|
@ -1963,7 +1963,7 @@ function get_password_reset_key( $user ) {
|
||||||
*
|
*
|
||||||
* @since 2.7.0
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
* @param bool true Whether to allow the password to be reset. Default true.
|
* @param bool $allow Whether to allow the password to be reset. Default true.
|
||||||
* @param int $user_data->ID The ID of the user attempting to reset a password.
|
* @param int $user_data->ID The ID of the user attempting to reset a password.
|
||||||
*/
|
*/
|
||||||
$allow = apply_filters( 'allow_password_reset', true, $user->ID );
|
$allow = apply_filters( 'allow_password_reset', true, $user->ID );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-35968';
|
$wp_version = '4.5-alpha-35969';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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