PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / 2.1.0
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration v2.1.0
2.1.0 2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 All 42 releases
← All changes | app/Views/emails/common-header.php +7 -6 1.212.1.0 View file →
@@ -1,15 +1,16 @@
1 1 <div class="fbs_email_notification_head">
2 2 <?php
3 - $email_header = '';
3 + $fluent_boards_email_header = '';
4 4
5 5 if ($site_logo) {
6 - $email_header .= '<img src="' . esc_url($site_logo) . '" width="100px" alt="' . esc_attr($site_title) . '">';
6 + $fluent_boards_email_header .= '<img src="' . esc_url($site_logo) . '" width="100px" alt="' . esc_attr($site_title) . '">';
7 + } else {
8 + $fluent_boards_email_header .= '<div class="fbs_head_text">' . esc_html($site_title) . '</div>';
7 9 }
8 10
9 - $email_header .= '<div class="fbs_head_text">' . esc_html($site_title) . '</div>';
10 11 // Apply the filter to the email header
11 - $email_header = apply_filters('fluent_boards/email_header', $email_header);
12 - // Output the final email header
13 - echo $email_header;
12 + $fluent_boards_email_header = apply_filters('fluent_boards/email_header', $fluent_boards_email_header);
13 + // Output the final email header (allow safe HTML)
14 + echo wp_kses_post($fluent_boards_email_header);
14 15 ?>
15 16 </div>