Fix case. fixes #7344 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1452266770
commit
702019d574
|
@ -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