I have a Wysiwyg Editor put onto my template with ACF Pro. On the page using the template, I have just [drawattention] in the Wysiwyg Editor. In my template PHP, I have
<?php echo wp_kses_post( $sectioncontent ); ?>
to display the content in the Editor.
I know that if I only use <?php echo $sectioncontent; ?>, then there would be no problem, but this php code is part of a loop so to be safe, I used wp_kses_post as well.
Hope that makes it clear.
Thanks
I am not sure if that’s anything to do with WP5.0.1. I am on WP v5.1.1 now. I have tried with a number of versions with Draw attention on WP v5.1.1 and found that it is OK up until v1.7.6 and so the problem started from v1.8.0.
Hope that helps to figure out where the problem could be, thanks a lot.
Thank you that removed the issue.