From 10ef167c960409be5e89497881fbe3067c66da05 Mon Sep 17 00:00:00 2001 From: champsupertramp Date: Tue, 10 May 2016 20:19:44 +0800 Subject: [PATCH] Fix convert tags format --- core/um-short-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/um-short-functions.php b/core/um-short-functions.php index ff786ede..c725eede 100644 --- a/core/um-short-functions.php +++ b/core/um-short-functions.php @@ -204,7 +204,7 @@ $replace = apply_filters('um_template_tags_replaces_hook', $replace); - $content = str_replace($search, $replace, $content); + $content = wp_kses_decode_entities( str_replace($search, $replace, $content) ); if ( isset( $args['tags'] ) && isset( $args['tags_replace'] ) ) { $content = str_replace($args['tags'], $args['tags_replace'], $content);