Make WordPress Core


Ignore:
Timestamp:
03/01/2004 07:55:45 PM (21 years ago)
Author:
saxmatt
Message:

Migration to get_settings and away from globals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r956 r957  
    7979   
    8080    if ($result == false) {
    81         die ('<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:'.$admin_email.'">webmaster</a> !');
     81        die ('<strong>ERROR</strong>: Couldn&#8217;t register you!');
    8282    }
    8383
     
    9090    $message .= "Login: $user_login\r\n\r\nE-mail: $user_email";
    9191
    92     @mail($admin_email, '[' . get_settings('blogname') . '] New User Registration', $message);
     92    @mail(get_settings('admin_email'), '[' . get_settings('blogname') . '] New User Registration', $message);
    9393    header('Location: users.php');
    9494break;
Note: See TracChangeset for help on using the changeset viewer.