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:
ryan 2008-07-23 16:36:10 +00:00
parent 1452266770
commit 702019d574
1 changed files with 1 additions and 1 deletions

View File

@ -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'));