forked from mirror/_s
Fix comment number comparison in comments.php
This commit is contained in:
parent
efd37d13a6
commit
e5da804748
|
@ -28,7 +28,7 @@ if ( post_password_required() ) {
|
|||
<h2 class="comments-title">
|
||||
<?php
|
||||
$comment_count = get_comments_number();
|
||||
if ( 1 === $comment_count ) {
|
||||
if ( '1' === $comment_count ) {
|
||||
printf(
|
||||
/* translators: 1: title. */
|
||||
esc_html_e( 'One thought on “%1$s”', '_s' ),
|
||||
|
|
Reference in New Issue