diff --git wp-login.php wp-login.php
index 239e4a9..23e94bf 100644
|
|
default: |
704 | 704 | |
705 | 705 | <?php if ( !$interim_login ) { ?> |
706 | 706 | <p id="nav"> |
707 | | <?php if ( isset($_GET['checkemail']) && in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> |
708 | | <?php elseif ( get_option('users_can_register') ) : ?> |
709 | | <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> |
713 | | <?php endif; ?> |
| 707 | <?php |
| 708 | $lost_password_link = '<a href="' . esc_url( wp_lostpassword_url() ) . '" title="' . esc_attr__( 'Password Lost and Found' ) . '">' . __( 'Lost your password?' ) . '</a>'; |
| 709 | if ( isset( $_GET['checkemail'] ) && in_array( $_GET['checkemail'], array( 'confirm', 'newpass' ) ) ) { |
| 710 | // Intentionally empty. |
| 711 | } elseif ( get_option( 'users_can_register' ) ) { |
| 712 | ?><a href="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login' ) ); ?>"><?php _e( 'Register' ); ?></a> | <?php |
| 713 | echo $lost_password_link; |
| 714 | } else { |
| 715 | echo $lost_password_link; |
| 716 | } |
| 717 | ?> |
714 | 718 | </p> |
715 | 719 | <?php } ?> |
716 | 720 | |