From 2ccb7f4f68117f9dcfefad2bc8e1c412ea8baf1f Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Fri, 23 Aug 2024 09:53:01 +0530 Subject: [PATCH] Allow all default WP post content html tags --- includes/admin/feedzy-rss-feeds-import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/feedzy-rss-feeds-import.php b/includes/admin/feedzy-rss-feeds-import.php index 6c065f64..a434e45b 100644 --- a/includes/admin/feedzy-rss-feeds-import.php +++ b/includes/admin/feedzy-rss-feeds-import.php @@ -1630,7 +1630,7 @@ function ( $attr, $key ) { $post_date = str_replace( '[#post_date]', $now, $post_date ); if ( ! defined( 'FEEDZY_ALLOW_UNSAFE_HTML' ) || ! FEEDZY_ALLOW_UNSAFE_HTML ) { - $post_content = wp_kses( $post_content, apply_filters( 'feedzy_wp_kses_allowed_html', array() ) ); + $post_content = wp_kses_post( $post_content ); if ( ! function_exists( 'use_block_editor_for_post_type' ) ) { require_once ABSPATH . 'wp-admin/includes/post.php';