diff --git a/src/wp-login.php b/src/wp-login.php
index 2b77a91669..198fe0d3d4 100644
a
|
b
|
switch ( $action ) { |
861 | 861 | </form> |
862 | 862 | |
863 | 863 | <p id="nav"> |
864 | | <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |
| 864 | <a class="log-in" href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |
865 | 865 | <?php |
866 | 866 | |
867 | 867 | if ( get_option( 'users_can_register' ) ) { |
868 | | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
| 868 | $registration_url = sprintf( '<a class="register" href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
869 | 869 | |
870 | 870 | echo esc_html( $login_link_separator ); |
871 | 871 | |
… |
… |
switch ( $action ) { |
1007 | 1007 | </form> |
1008 | 1008 | |
1009 | 1009 | <p id="nav"> |
1010 | | <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |
| 1010 | <a class="log-in" href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |
1011 | 1011 | <?php |
1012 | 1012 | |
1013 | 1013 | if ( get_option( 'users_can_register' ) ) { |
1014 | | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
| 1014 | $registration_url = sprintf( '<a class="register" href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
1015 | 1015 | |
1016 | 1016 | echo esc_html( $login_link_separator ); |
1017 | 1017 | |
… |
… |
switch ( $action ) { |
1112 | 1112 | </form> |
1113 | 1113 | |
1114 | 1114 | <p id="nav"> |
1115 | | <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |
| 1115 | <a class="log-in" href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |
1116 | 1116 | <?php |
1117 | 1117 | |
1118 | 1118 | echo esc_html( $login_link_separator ); |
1119 | 1119 | |
1120 | | $html_link = sprintf( '<a href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); |
| 1120 | $html_link = sprintf( '<a class="lost-password" href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); |
1121 | 1121 | |
1122 | 1122 | /** This filter is documented in wp-login.php */ |
1123 | 1123 | echo apply_filters( 'lost_password_html_link', $html_link ); |
… |
… |
switch ( $action ) { |
1481 | 1481 | <?php |
1482 | 1482 | |
1483 | 1483 | if ( get_option( 'users_can_register' ) ) { |
1484 | | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
| 1484 | $registration_url = sprintf( '<a class="register" href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
1485 | 1485 | |
1486 | 1486 | /** This filter is documented in wp-includes/general-template.php */ |
1487 | 1487 | echo apply_filters( 'register', $registration_url ); |
… |
… |
switch ( $action ) { |
1489 | 1489 | echo esc_html( $login_link_separator ); |
1490 | 1490 | } |
1491 | 1491 | |
1492 | | $html_link = sprintf( '<a href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); |
| 1492 | $html_link = sprintf( '<a class="lost-password" href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); |
1493 | 1493 | |
1494 | 1494 | /** |
1495 | 1495 | * Filters the link that allows the user to reset the lost password. |