diff --git a/src/wp-login.php b/src/wp-login.php index 3dbfacfd2b..de2ee486c7 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -861,11 +861,11 @@ switch ( $action ) {
- + %s', esc_url( wp_registration_url() ), __( 'Register' ) ); + $registration_url = sprintf( '%s', esc_url( wp_registration_url() ), __( 'Register' ) ); echo esc_html( $login_link_separator ); @@ -1007,11 +1007,11 @@ switch ( $action ) {
- + %s', esc_url( wp_registration_url() ), __( 'Register' ) ); + $registration_url = sprintf( '%s', esc_url( wp_registration_url() ), __( 'Register' ) ); echo esc_html( $login_link_separator ); @@ -1112,12 +1112,12 @@ switch ( $action ) {
- + %s', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); + $html_link = sprintf( '%s', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); /** This filter is documented in wp-login.php */ echo apply_filters( 'lost_password_html_link', $html_link ); @@ -1481,7 +1481,7 @@ switch ( $action ) { %s', esc_url( wp_registration_url() ), __( 'Register' ) ); + $registration_url = sprintf( '%s', esc_url( wp_registration_url() ), __( 'Register' ) ); /** This filter is documented in wp-includes/general-template.php */ echo apply_filters( 'register', $registration_url ); @@ -1489,7 +1489,7 @@ switch ( $action ) { echo esc_html( $login_link_separator ); } - $html_link = sprintf( '%s', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); + $html_link = sprintf( '%s', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); /** * Filters the link that allows the user to reset the lost password.