Make WordPress Core

Changeset 3517 for trunk/wp-register.php


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-register.php

    r3507 r3517  
    1515    $user_login = sanitize_user( $_POST['user_login'] );
    1616    $user_email = $_POST['user_email'];
    17    
     17
    1818    $errors = array();
    19        
     19
    2020    if ( $user_login == '' )
    2121        $errors['user_login'] = __('<strong>ERROR</strong>: Please enter a username.');
     
    4646            wp_new_user_notification($user_id, $password);
    4747    }
    48    
     48
    4949    if ( 0 == count($errors) ) {
    5050
     
    5454<head>
    5555    <title>WordPress &raquo; <?php _e('Registration Complete') ?></title>
    56     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />   
     56    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
    5757    <link rel="stylesheet" href="wp-admin/wp-admin.css" type="text/css" />
    5858    <style type="text/css">
Note: See TracChangeset for help on using the changeset viewer.