Make WordPress Core

Changeset 6726 for trunk/wp-login.php


Ignore:
Timestamp:
02/05/2008 06:47:27 AM (17 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r6711 r6726  
    6565    if ( $errors->get_error_code() )
    6666        return $errors;
    67    
     67
    6868    if ( !$user_data ) {
    6969        $errors->add('invalidcombo', __('<strong>ERROR</strong>: Invalid username or e-mail.'));
     
    171171}
    172172
    173 // 
     173//
    174174// Main
    175175//
     
    243243<p id="nav">
    244244<?php if (get_option('users_can_register')) : ?>
    245 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> | 
     245<a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> |
    246246<a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a>
    247247<?php else : ?>
     
    312312
    313313<p id="nav">
    314 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> | 
     314<a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> |
    315315<a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
    316316</p>
     
    337337        // If the user can't edit posts, send them to their profile.
    338338        if ( !$user->has_cap('edit_posts') && ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' ) )
    339             $redirect_to = get_option('siteurl') . '/wp-admin/profile.php'; 
     339            $redirect_to = get_option('siteurl') . '/wp-admin/profile.php';
    340340        wp_safe_redirect($redirect_to);
    341341        exit();
    342342    }
    343    
     343
    344344    $errors = $user;
    345345    // Clear errors if loggedout is set.
Note: See TracChangeset for help on using the changeset viewer.