- escape functions in templates;

This commit is contained in:
nikitasinelnikov
2019-07-17 16:55:09 +03:00
parent 878bee507d
commit b47a6e2137
18 changed files with 583 additions and 497 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ foreach ( UM()->shortcodes()->loop as $comment ) {
<div class="um-item-link">
<i class="um-icon-chatboxes"></i>
<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
<?php echo get_comment_excerpt( $comment->comment_ID ); ?>
<?php echo esc_html( get_comment_excerpt( $comment->comment_ID ) ); ?>
</a>
</div>
<div class="um-item-meta">