Make WordPress Core

Ticket #16498: 16498.diff

File 16498.diff, 994 bytes (added by MikeHansenMe, 12 years ago)

Removes duplicate from code.

  • wp-login.php

     
    707707<?php if ( isset($_GET['checkemail']) && in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
    708708<?php elseif ( get_option('users_can_register') ) : ?>
    709709<a href="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login' ) ); ?>"><?php _e( 'Register' ); ?></a> |
    710 <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Password Lost and Found' ); ?>"><?php _e( 'Lost your password?' ); ?></a>
    711 <?php else : ?>
    712 <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Password Lost and Found' ); ?>"><?php _e( 'Lost your password?' ); ?></a>
    713710<?php endif; ?>
     711<a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Password Lost and Found' ); ?>"><?php _e( 'Lost your password?' ); ?></a>
    714712</p>
    715713<?php } ?>
    716714