PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.01
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
← All changes | app/Services/Libs/DailyDigest.php +3 -1 2.4.012.10.01 View file →
@@ -8,8 +8,9 @@
8 8 use FluentCommunity\App\Models\User;
9 9 use FluentCommunity\App\Services\CustomSanitizer;
10 10 use FluentCommunity\App\Services\Helper;
11 11 use FluentCommunity\App\Services\ProfileHelper;
12 +use FluentCommunity\App\Functions\Utility;
12 13 use FluentCommunity\Framework\Support\Arr;
13 14
14 15 class DailyDigest
15 16 {
@@ -207,9 +208,9 @@
207 208 </td>
208 209 <td style="font-family: Arial, sans-serif; font-size: 16px;color: #3c434a; padding-left: 5px; vertical-align: middle;">
209 210 <a style="color: #3c434a; text-decoration: none;" target="_blank"
210 211 href="<?php echo esc_url($permalink); ?>">
211 - <?php echo wp_kses_post($notification->content); ?>
212 + <?php echo wp_kses_post((string) $notification->content); ?>
212 213 </a>
213 214 <p style="font-family: Arial, sans-serif; font-size: 12px; font-weight: normal; margin: 0; margin-top: 5px;">
214 215 <?php /* translators: %s is replaced by the time ago */ ?>
215 216 <?php echo esc_html( sprintf(__('%s ago', 'fluent-community'), esc_html(human_time_diff(strtotime($notification->created_at), current_time('timestamp'))))); ?>
@@ -262,8 +263,9 @@
262 263 'permalink' => $permalink,
263 264 'space_name' => $post->space ? $post->space->title : '',
264 265 'hide_publish' => 'yes',
265 266 'show_read_more' => 'yes',
267 + 'linkColor' => Utility::getThemeColor(),
266 268 'timestamp' => human_time_diff(strtotime($post->created_at), current_time('timestamp'))
267 269 ]);
268 270
269 271 $html .= $blockEnd;