diff --git a/includes/templates/reader-activation-emails/otp.php b/includes/templates/reader-activation-emails/otp.php index 5c58ad37b6..40eb15cb07 100644 --- a/includes/templates/reader-activation-emails/otp.php +++ b/includes/templates/reader-activation-emails/otp.php @@ -9,56 +9,63 @@ // phpcs:disable WordPressVIPMinimum.Security.Mustache.OutputNotation -[ 'primary_color' => $primary_color, 'secondary_color' => $secondary_color ] = newspack_get_theme_colors(); -[ 'block_markup' => $social_links, 'html_markup' => $social_links_html ] = newspack_get_social_markup(); - -$post_content = ' - -
+[ + 'primary_color' => $primary_color, + 'primary_text_color' => $primary_text_color, + 'secondary_color' => $secondary_color, + 'secondary_text_color' => $secondary_text_color, +] = newspack_get_theme_colors(); + +[ + 'block_markup' => $social_links, + 'html_markup' => $social_links_html +] = newspack_get_social_markup( $primary_text_color ); + +$post_content = + // Main body. + ' +