| @@ -10,9 +10,9 @@ | ||
| 10 | 10 | <p class="fbs_user_name"><?php echo esc_html($userData['display_name']); ?></p> |
| 11 | 11 | <p class="fbs_email_details"><?php echo wp_kses_post($body); ?></p> |
| 12 | 12 | <div class="fbs_email_comment"><?php echo wp_kses_post($comment); ?></div> |
| 13 | 13 | <div class="fbs_invitation_button"> |
| 14 | - <a style="background: none; text-decoration: none; color: #FFF" target="_blank" href=" <?php echo $comment_link ?> "> Go To Comment </a> | |
| 14 | + <a style="background: none; text-decoration: none; color: #FFF" target="_blank" href="<?php echo esc_url($comment_link); ?>"><?php echo esc_html__('Go To Comment', 'fluent-boards'); ?></a> | |
| 15 | 15 | </div> |
| 16 | 16 | </div> |
| 17 | 17 | |
| 18 | 18 | |
| @@ -17,7 +17,6 @@ | ||
| 17 | 17 | |
| 18 | 18 | |
| 19 | 19 | <!--end your code here --> |
| 20 | 20 | <?php |
| 21 | -$content = ob_get_clean(); // Get the content and clean the buffer | |
| 22 | -// Include the template and pass the content | |
| 21 | +$fluent_boards_email_content = ob_get_clean(); | |
| 23 | 22 | include 'template.php'; |