From ab1c321433c2de7286d139323031991b29a96a2e Mon Sep 17 00:00:00 2001 From: nikitozzzzzzz Date: Thu, 27 Sep 2018 23:41:10 +0300 Subject: [PATCH] - strip tags in plain text email templates; --- includes/core/class-mail.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/core/class-mail.php b/includes/core/class-mail.php index b34edfb8..7f8019c4 100644 --- a/includes/core/class-mail.php +++ b/includes/core/class-mail.php @@ -338,6 +338,8 @@ if ( ! class_exists( 'um\core\Mail' ) ) { get_email_template( $slug, $args ); $plain_email_template = strip_tags( $raw_email_template ); if( $plain_email_template !== $raw_email_template ){