mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- add wp_unslash for email subject
This commit is contained in:
@@ -435,7 +435,7 @@ if ( ! class_exists( 'um\core\Mail' ) ) {
|
||||
add_filter( 'um_template_tags_replaces_hook', array( UM()->mail(), 'add_replace_placeholder' ), 10, 1 );
|
||||
|
||||
$subject = apply_filters( 'um_email_send_subject', UM()->options()->get( $template . '_sub' ), $template );
|
||||
$this->subject = um_convert_tags( $subject , $args );
|
||||
$this->subject = wp_unslash( um_convert_tags( $subject , $args ) );
|
||||
|
||||
$this->message = $this->prepare_template( $template, $args );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user