Issue: Apostrophe appears as \' in Mail appears from name

Link: https://secure.helpscout.net/conversation/897757075/31945?folderId=1405025
This commit is contained in:
denisbaranov
2019-07-09 13:16:09 +03:00
parent 9015b6c34d
commit 3e05da5ffd
+1 -1
View File
@@ -406,7 +406,7 @@ if ( ! class_exists( 'um\core\Mail' ) ) {
}
$this->attachments = null;
$this->headers = 'From: '. UM()->options()->get('mail_from') .' <'. UM()->options()->get('mail_from_addr') .'>' . "\r\n";
$this->headers = 'From: '. stripslashes( UM()->options()->get('mail_from') ) .' <'. UM()->options()->get('mail_from_addr') .'>' . "\r\n";
/**
* UM hook