diff --git src/wp-login.php src/wp-login.php
index 5159eab..2797ee0 100644
|
|
|
default: |
| 1007 | 1007 | |
| 1008 | 1008 | <?php if ( ! $interim_login ) { ?> |
| 1009 | 1009 | <p id="nav"> |
| 1010 | | <?php if ( ! isset( $_GET['checkemail'] ) || ! in_array( $_GET['checkemail'], array( 'confirm', 'newpass' ) ) ) : |
| 1011 | | if ( get_option( 'users_can_register' ) ) : |
| 1012 | | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
| | 1010 | <?php |
| | 1011 | if ( get_option( 'users_can_register' ) ) { |
| | 1012 | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), esc_html__( 'Register' ) ); |
| 1013 | 1013 | |
| 1014 | 1014 | /** This filter is documented in wp-includes/general-template.php */ |
| 1015 | 1015 | echo apply_filters( 'register', $registration_url ); |
| 1016 | 1016 | |
| 1017 | 1017 | echo esc_html( $login_link_separator ); |
| 1018 | | endif; |
| | 1018 | } |
| | 1019 | |
| | 1020 | if ( ! isset( $_GET['checkemail'] ) || 'newpass' !== $_GET['checkemail'] ) { |
| | 1021 | printf( '<a href="%s">%s</a>', esc_url( wp_lostpassword_url() ), esc_html__( 'Lost your password?' ) ); |
| | 1022 | } |
| 1019 | 1023 | ?> |
| 1020 | | <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php _e( 'Lost your password?' ); ?></a> |
| 1021 | | <?php endif; ?> |
| 1022 | 1024 | </p> |
| 1023 | 1025 | <?php } ?> |
| 1024 | 1026 | |