From 636a72294220c92c08d5a04ae0b84bcead8828f3 Mon Sep 17 00:00:00 2001 From: denisbaranov Date: Wed, 31 Jul 2019 15:16:25 +0300 Subject: [PATCH] Changed: apply htmlspecialchars_decode to [um_loggedin] output. Issue: Issue with restrict content tags after version 2.0.54: html tags are not recognized at the lock text. Link: https://secure.helpscout.net/conversation/917425392/32569?folderId=646527 --- includes/core/class-shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core/class-shortcodes.php b/includes/core/class-shortcodes.php index 3c619d93..d166c980 100644 --- a/includes/core/class-shortcodes.php +++ b/includes/core/class-shortcodes.php @@ -376,7 +376,7 @@ if ( ! class_exists( 'um\core\Shortcodes' ) ) { } $output = ob_get_clean(); - return $output; + return htmlspecialchars_decode( $output ); }