WordPress.org

Make WordPress Core

Changeset 12735 for trunk/wp-login.php


Ignore:
Timestamp:
01/15/2010 11:40:29 PM (11 years ago)
Author:
ryan
Message:

Coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r12697 r12735  
    7575</head>
    7676<body class="login">
    77 <?php   if( !is_multisite() ) { ?>
     77<?php   if ( !is_multisite() ) { ?>
    7878<div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1>
    7979<?php   } else { ?>
     
    166166    }
    167167    $message = __('Someone has asked to reset the password for the following site and username.') . "\r\n\r\n";
    168         if( !is_multisite() ) {
     168        if ( !is_multisite() )
    169169            $message .= get_option('siteurl') . "\r\n\r\n";
    170         } else {
     170        else
    171171                $message .= 'http://' . trailingslashit( $current_site->domain . $current_site->path ) . "\r\n\r\n";
    172         }
    173172    $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n";
    174173    $message .= __('To reset your password visit the following address, otherwise just ignore this email and nothing will happen.') . "\r\n\r\n";
    175         if( !is_multisite() ) {
     174        if ( !is_multisite() )
    176175            $message .= site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . "\r\n";
    177         } else {
     176        else
    178177            $message .= 'http://' . trailingslashit( $current_site->domain . $current_site->path ) . "wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login) . "\r\n";
    179         }
    180178
    181179    // The blogname option is escaped with esc_html on the way into the database in sanitize_option
     
    410408
    411409case 'register' :
    412         if( is_multisite() ) {
    413                 // WPMU doesn't use this
    414                 wp_redirect( apply_filters( 'wp_signup_location', get_bloginfo('wpurl') . '/wp-signup.php' ) );
    415                 exit;
    416         }
     410    if ( is_multixsite() ) {
     411        // WPMU doesn't use this
     412        wp_redirect( apply_filters( 'wp_signup_location', get_bloginfo('wpurl') . '/wp-signup.php' ) );
     413        exit;
     414    }
     415
    417416    if ( !get_option('users_can_register') ) {
    418417        wp_redirect('wp-login.php?registration=disabled');
Note: See TracChangeset for help on using the changeset viewer.