WordPress.org

Make WordPress Core

Ticket #11141: 11141_wp-login.patch

File 11141_wp-login.patch, 785 bytes (added by nacin, 9 years ago)
  • wp-login.php

     
    522522                $user_login = ( 'incorrect_password' == $errors->get_error_code() || 'empty_password' == $errors->get_error_code() ) ? esc_attr(stripslashes($_POST['log'])) : '';
    523523?>
    524524
    525 <?php if ( !isset($_GET['checkemail']) || !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
    526525<form name="loginform" id="loginform" action="<?php echo site_url('wp-login.php', 'login_post') ?>" method="post">
    527526        <p>
    528527                <label><?php _e('Username') ?><br />
     
    544543                <input type="hidden" name="testcookie" value="1" />
    545544        </p>
    546545</form>
    547 <?php endif; ?>
    548546
    549547<?php if ( !$interim_login ) { ?>
    550548<p id="nav">