diff --git a/inc/cookie/namespace.php b/inc/cookie/namespace.php index 1c97ff5..c0915c9 100644 --- a/inc/cookie/namespace.php +++ b/inc/cookie/namespace.php @@ -24,9 +24,14 @@ function on_login_form() { $redirect_uri_params['redirect_to'] = esc_url_raw( $_GET['redirect_to'] ); } $login_url = get_authorize_url( $redirect_uri_params ); - if ( defined( 'HM_DELEGATED_AUTH_LOGIN_TEXT' ) && is_string( HM_DELEGATED_AUTH_LOGIN_TEXT ) ) { ?> -

- %2$s

' ); + // phpcs:ignore HM.Security.EscapeOutput.OutputNotEscaped + printf( + $format, + esc_url( $login_url ), + esc_html( HM_DELEGATED_AUTH_LOGIN_TEXT ) + ); } }