Ticket #16318: 16318.diff
File 16318.diff, 1.8 KB (added by , 14 years ago) |
---|
-
wp-login.php
411 411 </p> 412 412 <?php do_action('lostpassword_form'); ?> 413 413 <input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect_to ); ?>" /> 414 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e(' Get New Password'); ?>" tabindex="100" /></p>414 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="<?php esc_attr_e('Email Password Reset Link'); ?>" tabindex="100" /></p> 415 415 </form> 416 416 417 417 <p id="nav"> … … 626 626 if ( isset($_POST['log']) ) 627 627 $user_login = ( 'incorrect_password' == $errors->get_error_code() || 'empty_password' == $errors->get_error_code() ) ? esc_attr(stripslashes($_POST['log'])) : ''; 628 628 $rememberme = ! empty( $_POST['rememberme'] ); 629 630 if ( ! isset($_GET['checkemail']) || ! in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : 629 631 ?> 630 632 631 633 <form name="loginform" id="loginform" action="<?php echo site_url('wp-login.php', 'login_post') ?>" method="post"> … … 650 652 </p> 651 653 </form> 652 654 653 <?php if ( !$interim_login ) { ?> 655 <?php 656 endif; 657 if ( !$interim_login ) { 658 ?> 654 659 <p id="nav"> 655 660 <?php if ( isset($_GET['checkemail']) && in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 661 <a href="<?php echo site_url('wp-login.php', 'login') ?>"><?php _e('Login') ?></a> 656 662 <?php elseif ( get_option('users_can_register') ) : ?> 657 663 <a href="<?php echo site_url('wp-login.php?action=register', 'login') ?>"><?php _e('Register') ?></a> | 658 664 <a href="<?php echo site_url('wp-login.php?action=lostpassword', 'login') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>