Make WordPress Core

Changeset 5285 for trunk/wp-login.php


Ignore:
Timestamp:
04/19/2007 02:53:19 AM (18 years ago)
Author:
rob1n
Message:

Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r5089 r5285  
    196196        // send a copy of password change notification to the admin
    197197        // but check to see if it's the admin whose password we're changing, and skip this
    198         if ($user->user_email != get_settings('admin_email')) {
     198        if ($user->user_email != get_option('admin_email')) {
    199199            $message = sprintf(__('Password Lost and Changed for user: %s'), $user->user_login) . "\r\n";
    200200            wp_mail(get_option('admin_email'), sprintf(__('[%s] Password Lost/Changed'), get_option('blogname')), $message);
Note: See TracChangeset for help on using the changeset viewer.