Skip to content

Commit

Permalink
BUGFIX: prevent PHP critical error when previewing a new feed subscri…
Browse files Browse the repository at this point in the history
…ption to add - wp_kses needs another parameter.
  • Loading branch information
radgeek committed Feb 8, 2022
1 parent e373458 commit 83ac4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feeds-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ function display_feedfinder () {
<li><strong>Date:</strong> <?php print date('d-M-y g:i:s a', $post->published()); ?></li>
</ul>
<div class="entry">
<?php print wp_kses( $post->post['post_content'] ); ?>
<?php print wp_kses( $post->post['post_content'], 'post' ); ?>
</div>
<?php
do_action('feedwordpress_feed_finder_sample_item', $f, $post, $link);
Expand Down

0 comments on commit 83ac4fd

Please sign in to comment.