mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- strip tags in plain text email templates;
This commit is contained in:
@@ -338,6 +338,8 @@ if ( ! class_exists( 'um\core\Mail' ) ) {
|
||||
|
||||
<?php } else {
|
||||
|
||||
//strip tags in plain text email
|
||||
//important don't use HTML in plain text emails!
|
||||
$raw_email_template = $this->get_email_template( $slug, $args );
|
||||
$plain_email_template = strip_tags( $raw_email_template );
|
||||
if( $plain_email_template !== $raw_email_template ){
|
||||
|
||||
Reference in New Issue
Block a user