Make WordPress Core

Changeset 957 for trunk/wp-register.php


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-register.php

    r956 r957  
    9797   
    9898    if ($result == false) {
    99         die ('<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:'.$admin_email.'">webmaster</a> !');
     99        die ('<strong>ERROR</strong>: Couldn&#8217;t register you... please contact the <a href="mailto:'.get_settings('admin_email').'">webmaster</a> !');
    100100    }
    101101
     
    108108    $message .= "Login: $user_login\r\n\r\nE-mail: $user_email";
    109109
    110     @mail($admin_email, '[' . get_settings('blogname') . '] New User Registration', $message);
     110    @mail(get_settings('admin_email'), '[' . get_settings('blogname') . '] New User Registration', $message);
    111111
    112112    ?>
Note: See TracChangeset for help on using the changeset viewer.