Skip to content

Commit

Permalink
Merge pull request #972 from Codeinwp/feat/pro/683
Browse files Browse the repository at this point in the history
Allowed all default WP post content HTML tags
  • Loading branch information
vytisbulkevicius authored Aug 30, 2024
2 parents 4a46f97 + 2ccb7f4 commit 9df221a
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 9df221a

Please sign in to comment.