WordPress.org

Make WordPress Core

Changeset 4354


Ignore:
Timestamp:
10/07/06 03:02:42 (9 years ago)
Author:
markjaquith
Message:

revert login $_POST vars change from [4339]. fixes #3123

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r4339 r4354  
    285285 
    286286    if ( $_POST ) { 
    287         $user_login = $_POST['user_login']; 
     287        $user_login = $_POST['log']; 
    288288        $user_login = sanitize_user( $user_login ); 
    289         $user_pass  = $_POST['user_pass']; 
     289        $user_pass  = $_POST['pwd']; 
    290290        $rememberme = $_POST['rememberme']; 
    291291    } else { 
     
    337337    <p> 
    338338        <label><?php _e('Username:') ?><br /> 
    339         <input type="text" name="user_login" id="user_login" class="input" value="<?php echo wp_specialchars(stripslashes($user_login), 1); ?>" size="20" tabindex="10" /></label> 
     339        <input type="text" name="log" id="user_login" class="input" value="<?php echo wp_specialchars(stripslashes($user_login), 1); ?>" size="20" tabindex="10" /></label> 
    340340    </p> 
    341341    <p> 
    342342        <label><?php _e('Password:') ?><br /> 
    343         <input type="password" name="user_pass" id="user_pass" class="input" value="" size="20" tabindex="20" /></label> 
     343        <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label> 
    344344    </p> 
    345345<?php do_action('login_form'); ?> 
Note: See TracChangeset for help on using the changeset viewer.