From 59b577ad7d2a81a6ba847e2a0158fcd25dda761b Mon Sep 17 00:00:00 2001 From: "K. Adam White" Date: Mon, 16 Jan 2023 10:04:51 -0500 Subject: [PATCH] Revert merge of #6 92f9ce5 --- providers/class.two-factor-email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/class.two-factor-email.php b/providers/class.two-factor-email.php index cac57580..17788571 100644 --- a/providers/class.two-factor-email.php +++ b/providers/class.two-factor-email.php @@ -148,7 +148,7 @@ public function generate_and_email_token( $user ) { $token = $this->generate_token( $user->ID ); /* translators: %s: site name */ - $subject = wp_strip_all_tags( sprintf( __( 'Your login confirmation code for %s', 'two-factor' ), mb_encode_mimeheader( get_option( 'blogname' ), ENT_QUOTES ) ) ); + $subject = wp_strip_all_tags( sprintf( __( 'Your login confirmation code for %s', 'two-factor' ), get_bloginfo( 'name' ) ) ); /* translators: %s: token */ $message = wp_strip_all_tags( sprintf( __( 'Enter %s to log in.', 'two-factor' ), $token ) );