mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- reviewed #1449;
This commit is contained in:
@@ -3542,8 +3542,11 @@ if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
|
||||
return $settings;
|
||||
}
|
||||
|
||||
$wp_default_protocols = wp_allowed_protocols();
|
||||
$protocols = array_merge( $wp_default_protocols, array( 'data' ) );
|
||||
|
||||
$template = $settings['um_email_template'];
|
||||
$content = wp_kses( stripslashes( $settings[ $template ] ), 'post', array( 'data' ) );
|
||||
$content = wp_kses( stripslashes( $settings[ $template ] ), 'post', $protocols );
|
||||
|
||||
$theme_template_path = UM()->mail()->get_template_file( 'theme', $template );
|
||||
if ( ! file_exists( $theme_template_path ) ) {
|
||||
|
||||
Reference in New Issue
Block a user