diff --git a/inc/vk-components/package/class-vk-component-posts.php b/inc/vk-components/package/class-vk-component-posts.php index b8d31360e..5ad94d958 100644 --- a/inc/vk-components/package/class-vk-component-posts.php +++ b/inc/vk-components/package/class-vk-component-posts.php @@ -3,7 +3,7 @@ * VK Components Posts * * @package VK Component - * @version 1.3.0 + * @version 1.3.1 * * *********************** CAUTION *********************** * The original of this file is located at: @@ -115,7 +115,8 @@ public static function get_view( $post, $options ) { * @return void */ public static function the_view( $post, $options ) { - echo wp_kses_post( self::get_view( $post, $options ) ); + $allowed_html = self::vk_kses_post(); + echo wp_kses( self::get_view( $post, $options ), $allowed_html ); } /** diff --git a/readme.txt b/readme.txt index 3642fb9ae..a1339fb4e 100644 --- a/readme.txt +++ b/readme.txt @@ -64,6 +64,9 @@ e.g. == Changelog == += 1.42.1 = +[ Other ] Update VK Component Posts 1.3.1 + = 1.42.0 = [ Specification Change ] Update VK Component Posts ( Can use input tag on filter ) [ Improvement ] Delete vk_blocks_get_options() function and change to VK_Blocks_Options::get_options(). diff --git a/vk-blocks.php b/vk-blocks.php index 7b0b91781..23d93b4e8 100644 --- a/vk-blocks.php +++ b/vk-blocks.php @@ -3,7 +3,7 @@ * Plugin Name: VK Blocks Pro * Plugin URI: https://github.com/vektor-inc/vk-blocks * Description: This is a plugin that extends Gutenberg's blocks. - * Version: 1.42.0.0 + * Version: 1.42.1.0 * Stable tag: 1.41.2.3 * Requires at least: 5.8 * Author: Vektor,Inc.