Skip to content

Commit 2ccb7f4

Browse files
Allow all default WP post content html tags
1 parent 4a46f97 commit 2ccb7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/feedzy-rss-feeds-import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,7 @@ function ( $attr, $key ) {
16301630
$post_date = str_replace( '[#post_date]', $now, $post_date );
16311631

16321632
if ( ! defined( 'FEEDZY_ALLOW_UNSAFE_HTML' ) || ! FEEDZY_ALLOW_UNSAFE_HTML ) {
1633-
$post_content = wp_kses( $post_content, apply_filters( 'feedzy_wp_kses_allowed_html', array() ) );
1633+
$post_content = wp_kses_post( $post_content );
16341634

16351635
if ( ! function_exists( 'use_block_editor_for_post_type' ) ) {
16361636
require_once ABSPATH . 'wp-admin/includes/post.php';

0 commit comments

Comments
 (0)