Make WordPress Core

Changeset 956 for trunk/wp-register.php


Ignore:
Timestamp:
03/01/2004 06:13:32 AM (21 years ago)
Author:
saxmatt
Message:

Migration to get_settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-register.php

    r955 r956  
    105105    }
    106106
    107     $message  = "New user registration on your blog $blogname:\r\n\r\n";
     107    $message  = 'New user registration on your blog ' . get_settings('blogname') . ":\r\n\r\n";
    108108    $message .= "Login: $user_login\r\n\r\nE-mail: $user_email";
    109109
    110     @mail($admin_email, "[$blogname] New User Registration", $message);
     110    @mail($admin_email, '[' . get_settings('blogname') . '] New User Registration', $message);
    111111
    112112    ?>
     
    115115<head>
    116116    <title>WordPress &raquo; Registration Complete</title>
    117     <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>" />   
     117    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
    118118    <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" />
    119119</head>
     
    143143<head>
    144144    <title>WordPress &raquo; Registration Currently Disabled</title>
    145     <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>">
     145    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>">
    146146    <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css">
    147147</head>
     
    169169<head>
    170170    <title>WordPress &raquo; Registration Form</title>
    171     <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>" />
     171    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
    172172    <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" />
    173173</head>
Note: See TracChangeset for help on using the changeset viewer.