Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: http://svn.automattic.com/wordpress/trunk@5285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -195,7 +195,7 @@ case 'rp' :
|
||||
} else {
|
||||
// send a copy of password change notification to the admin
|
||||
// but check to see if it's the admin whose password we're changing, and skip this
|
||||
if ($user->user_email != get_settings('admin_email')) {
|
||||
if ($user->user_email != get_option('admin_email')) {
|
||||
$message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n";
|
||||
wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), get_option('blogname')), $message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user