mirror of
https://github.com/discourse/wp-discourse.git
synced 2025-10-03 08:59:21 +08:00
Escape HTML
This commit is contained in:
parent
83f3403bae
commit
f5d2e2a32f
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ class HTMLTemplates {
|
|||
<div class="respond comment-respond">
|
||||
<h3 id="reply-title" class="comment-reply-title">
|
||||
<?php echo esc_html( self::get_text_options( 'continue-discussion-text' ) . ' ' ); ?>
|
||||
<a <?php echo self::target(); ?> href="{topic_url}">
|
||||
<a <?php echo esc_html( self::target() ); ?> href="{topic_url}">
|
||||
{discourse_url_name}
|
||||
</a>
|
||||
</h3>
|
||||
|
@ -106,7 +106,7 @@ class HTMLTemplates {
|
|||
$text = $discourse_comments_number > 0 ? self::get_text_options( 'join-discussion-text' ) : self::get_text_options( 'start-discussion-text' );
|
||||
?>
|
||||
<?php echo esc_html( $text ) . ' '; ?>
|
||||
<a <?php echo self::target(); ?> href="{topic_url}">
|
||||
<a <?php echo esc_html( self::target() ); ?> href="{topic_url}">
|
||||
{discourse_url_name}
|
||||
</a></h3>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue