Make WordPress Core

Changeset 945 for trunk/wp-login.php


Ignore:
Timestamp:
02/26/2004 04:15:48 PM (21 years ago)
Author:
saxmatt
Message:

Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r880 r945  
    164164    <title>WordPress &rsaquo; Lost password ?</title>
    165165    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>" />
    166     <link rel="stylesheet" href="<?php echo $siteurl; ?>/wp-admin/wp-admin.css" type="text/css" />
     166    <link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-admin/wp-admin.css" type="text/css" />
    167167    <script type="text/javascript">
    168168    function focusit() {
     
    212212    $message  = "Login: $user_login\r\n";
    213213    $message .= "Password: $user_pass\r\n";
    214     $message .= "Login at: $siteurl/wp-login.php";
     214    $message .= 'Login at: ' . get_settings('siteurl') . '/wp-login.php';
    215215
    216216    $m = mail($user_email, "[$blogname] Your weblog's login/password", $message);
     
    268268    <title>WordPress > <?php bloginfo('name') ?> > Login form</title>
    269269    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $blog_charset; ?>" />
    270     <link rel="stylesheet" href="<?php echo $siteurl; ?>/wp-admin/wp-admin.css" type="text/css" />
     270    <link rel="stylesheet" href="<?php echo get_settings('siteurl'); ?>/wp-admin/wp-admin.css" type="text/css" />
    271271    <script type="text/javascript">
    272272    function focusit() {
     
    281281<div id="login">
    282282<p>
    283     <a href="<?php echo $siteurl?>" title="Are you lost?">Back to blog?</a><br />
     283    <a href="<?php echo get_settings('siteurl'); ?>" title="Are you lost?">Back to blog?</a><br />
    284284<?php if ($users_can_register) { ?>
    285     <a href="<?php echo $siteurl; ?>/wp-register.php" title="Register to be an author">Register?</a><br />
     285    <a href="<?php echo get_settings('siteurl'); ?>/wp-register.php" title="Register to be an author">Register?</a><br />
    286286<?php } ?>
    287     <a href="<?php echo $siteurl; ?>/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a>
     287    <a href="<?php echo get_settings('siteurl'); ?>/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a>
    288288</p>
    289289
Note: See TracChangeset for help on using the changeset viewer.