diff --git src/wp-login.php src/wp-login.php
index e237665..8f14cdf 100644
|
|
|
default: |
| 956 | 956 | |
| 957 | 957 | <?php if ( ! $interim_login ) { ?> |
| 958 | 958 | <p id="nav"> |
| 959 | | <?php if ( ! isset( $_GET['checkemail'] ) || ! in_array( $_GET['checkemail'], array( 'confirm', 'newpass' ) ) ) : |
| 960 | | if ( get_option( 'users_can_register' ) ) : |
| | 959 | <?php |
| | 960 | if ( get_option( 'users_can_register' ) ) { |
| 961 | 961 | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
| 962 | 962 | |
| 963 | 963 | /** This filter is documented in wp-includes/general-template.php */ |
| 964 | | echo apply_filters( 'register', $registration_url ); |
| | 964 | echo apply_filters( 'register', $registration_url ) . ' | '; |
| | 965 | } |
| 965 | 966 | |
| 966 | | echo esc_html( $login_link_separator ); |
| 967 | | endif; |
| | 967 | if ( ! isset( $_GET['checkemail'] ) || 'newpass' !== $_GET['checkemail'] ) { |
| | 968 | printf( '<a href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); |
| | 969 | } |
| 968 | 970 | ?> |
| 969 | | <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php _e( 'Lost your password?' ); ?></a> |
| 970 | | <?php endif; ?> |
| 971 | | </p> |
| | 971 | </p> |
| 972 | 972 | <?php } ?> |
| 973 | 973 | |
| 974 | 974 | <script type="text/javascript"> |