Skip to content

Commit

Permalink
Allow all default WP post content html tags
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Aug 23, 2024
1 parent 4a46f97 commit 2ccb7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/feedzy-rss-feeds-import.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 2ccb7f4

Please sign in to comment.