| @@ -208,9 +208,9 @@ | ||
| 208 | 208 | </td> |
| 209 | 209 | <td style="font-family: Arial, sans-serif; font-size: 16px;color: #3c434a; padding-left: 5px; vertical-align: middle;"> |
| 210 | 210 | <a style="color: #3c434a; text-decoration: none;" target="_blank" |
| 211 | 211 | href="<?php echo esc_url($permalink); ?>"> |
| 212 | - <?php echo wp_kses_post($notification->content); ?> | |
| 212 | + <?php echo wp_kses_post((string) $notification->content); ?> | |
| 213 | 213 | </a> |
| 214 | 214 | <p style="font-family: Arial, sans-serif; font-size: 12px; font-weight: normal; margin: 0; margin-top: 5px;"> |
| 215 | 215 | <?php /* translators: %s is replaced by the time ago */ ?> |
| 216 | 216 | <?php echo esc_html( sprintf(__('%s ago', 'fluent-community'), esc_html(human_time_diff(strtotime($notification->created_at), current_time('timestamp'))))); ?> |