| @@ -14,11 +14,11 @@ | ||
| 14 | 14 | <div class="fbs_email_notification"> |
| 15 | 15 | <div class="fbs_email_notification_top"> |
| 16 | 16 | <?php include(FLUENT_BOARDS_PLUGIN_PATH.'app/Views/emails/common-header.php'); ?> |
| 17 | 17 | <div class="fbs_email_notification_contents"> |
| 18 | - <div class="fbs_email_content"> | |
| 19 | - <?php echo $content; ?> | |
| 20 | - </div> | |
| 18 | + <div class="fbs_email_content"> | |
| 19 | + <?php echo wp_kses_post(isset($fluent_boards_email_content) ? $fluent_boards_email_content : $content); ?> | |
| 20 | + </div> | |
| 21 | 21 | </div> |
| 22 | 22 | <div class="fbs_email_notification_bottom"> |
| 23 | 23 | <?php if(!defined('FLUENT_BOARDS_PRO')): ?> |
| 24 | 24 | <span class="fbs_email_footer_text"><?php esc_html_e('Powered By', 'fluent-boards'); ?> |
| @@ -28,10 +28,10 @@ | ||
| 28 | 28 | </div> |
| 29 | 29 | </div> |
| 30 | 30 | |
| 31 | 31 | <div class="fbs_email_notification_footer"> |
| 32 | - <?php $footer_text = ''; ?> | |
| 33 | - <?php echo apply_filters('fluent_boards/email_footer', $footer_text); ?> | |
| 32 | + <?php $fluent_boards_footer_text = ''; ?> | |
| 33 | + <?php echo wp_kses_post(apply_filters('fluent_boards/email_footer', $fluent_boards_footer_text)); ?> | |
| 34 | 34 | </div> |
| 35 | 35 | </div> |
| 36 | 36 | </body> |
| 37 | 37 | </html> |