2
0
Fork 0
mirror of https://github.com/discourse/wp-discourse.git synced 2025-10-03 08:59:21 +08:00

Merging changes from adamcapriola-adamcapriola-patch-2

This commit is contained in:
scossar 2018-08-17 12:25:36 -07:00
parent 04cadfa869
commit 60698c2c0b

View file

@ -103,7 +103,7 @@ class HTMLTemplates {
<div class="respond comment-respond">
<h3 id="reply-title" class="comment-reply-title">
<?php
$text = $discourse_comments_number > 0 ? self::get_text_options( 'join-discussion-text' ) : self::get_text_options( 'start-discussion-text' );
$text = $discourse_comments_number > 1 ? self::get_text_options( 'join-discussion-text' ) : self::get_text_options( 'start-discussion-text' );
?>
<?php echo esc_html( $text ) . ' '; ?>
<a <?php echo esc_html( self::target() ); ?> href="{topic_url}">