From 44bedf16562dd34540e82c7772cad9e7155f3baa Mon Sep 17 00:00:00 2001 From: Rasmy Nguyen Date: Tue, 29 Oct 2024 10:22:55 -0400 Subject: [PATCH] fix(ras): update reset password email template text (#3505) This PR updates the password reset heading, text, and button to be more general for both new users setting up a password for the first time, as well as for existing users who already have a password set. --- .../reader-activation-emails/password-reset.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/templates/reader-activation-emails/password-reset.php b/includes/templates/reader-activation-emails/password-reset.php index de2291f7e4..a583bf73b2 100644 --- a/includes/templates/reader-activation-emails/password-reset.php +++ b/includes/templates/reader-activation-emails/password-reset.php @@ -27,11 +27,11 @@ -

' . __( 'Reset password', 'newspack-plugin' ) . '

+

' . __( 'Set a new password', 'newspack-plugin' ) . '

-

' . __( 'You have just requested a password reset for your account associated with this email address.', 'newspack-plugin' ) . '

+

' . __( 'You have just requested to set a password for your account associated with this email address.', 'newspack-plugin' ) . '

@@ -39,7 +39,7 @@
' . - __( 'Reset password', 'newspack-plugin' ) . + __( 'Set password', 'newspack-plugin' ) . '
@@ -70,7 +70,7 @@ - ' . __( 'Reset password', 'newspack-plugin' ) . ' + ' . __( 'Set a new password', 'newspack-plugin' ) . ' @@ -241,11 +241,11 @@
-

' . __( 'Reset password', 'newspack-plugin' ) . '

+

' . __( 'Set a new password', 'newspack-plugin' ) . '

-

' . __( 'You have just requested a password reset for your account associated with this email address.', 'newspack-plugin' ) . '

+

' . __( 'You have just requested to set a password for your account associated with this email address.', 'newspack-plugin' ) . '

-
+
' . __( 'Set password', 'newspack-plugin' ) . '

' . sprintf( /* Translators: 1: Opening HTML anchor tag containing Newspack support link. 2: Closing HTML anchor tag. */ __( 'If you continue to have issues signing in, please %1$scontact us%2$s.', 'newspack-plugin' ), '', '' ) . '

@@ -258,7 +258,7 @@ '; return array( - 'post_title' => __( 'Reset password', 'newspack-plugin' ), + 'post_title' => __( 'Set a new password', 'newspack-plugin' ), 'post_content' => $post_content, 'email_html' => $email_html, );