mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
Fix case. fixes #7344 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/branches/2.6@8412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
248bc6d43c
commit
0e9fc6677b
|
|
@ -129,7 +129,7 @@ function retrieve_password() {
|
|||
do_action('retreive_password', $user_login); // Misspelled and deprecated
|
||||
do_action('retrieve_password', $user_login);
|
||||
|
||||
$allow = apply_filters('allow_password_reset', true, $user_data->id);
|
||||
$allow = apply_filters('allow_password_reset', true, $user_data->ID);
|
||||
|
||||
if ( ! $allow )
|
||||
return new WP_Error('no_password_reset', __('Password reset is not allowed for this user'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user