| @@ -99,13 +99,13 @@ | ||
| 99 | 99 | |
| 100 | 100 | switch ($this->action_name) { |
| 101 | 101 | case 'feed_published': |
| 102 | 102 | /* translators: %1$s is the person name and %2$s is the feed excerpt */ |
| 103 | - $message = sprintf(__('%1$s published a new status %2$s', 'fluent-community'), '<span class="fcom_user_name">' . esc_html($this->xprofile->display_name) . '</span>', '<span class="fcom_feed_excerpt">' . $this->feed->getHumanExcerpt() . '</span>'); | |
| 103 | + $message = sprintf(__('%1$s published a new status %2$s', 'fluent-community'), '<span class="fcom_user_name">' . esc_html($this->xprofile->display_name) . '</span>', '<span class="fcom_feed_excerpt">' . esc_html($this->feed->getHumanExcerpt()) . '</span>'); | |
| 104 | 104 | break; |
| 105 | 105 | case 'comment_added': |
| 106 | 106 | /* translators: %1$s is the person name and %2$s is the feed excerpt */ |
| 107 | - $message = sprintf(__('%1$s added a comment on %2$s', 'fluent-community'), '<span class="fcom_user_name">' . esc_html($this->xprofile->display_name) . '</span>', '<span class="fcom_feed_excerpt">' . $this->feed->getHumanExcerpt() . '</span>'); | |
| 107 | + $message = sprintf(__('%1$s added a comment on %2$s', 'fluent-community'), '<span class="fcom_user_name">' . esc_html($this->xprofile->display_name) . '</span>', '<span class="fcom_feed_excerpt">' . esc_html($this->feed->getHumanExcerpt()) . '</span>'); | |
| 108 | 108 | break; |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | return $message; |