forked from mirror/_s
Merge pull request #1228 from SergeyBiryukov/patch-1
Make comments number comparison work as expected
This commit is contained in:
commit
c5f33c1966
|
@ -28,7 +28,7 @@ if ( post_password_required() ) {
|
||||||
<h2 class="comments-title">
|
<h2 class="comments-title">
|
||||||
<?php
|
<?php
|
||||||
$comment_count = get_comments_number();
|
$comment_count = get_comments_number();
|
||||||
if ( 1 === $comment_count ) {
|
if ( '1' === $comment_count ) {
|
||||||
printf(
|
printf(
|
||||||
/* translators: 1: title. */
|
/* translators: 1: title. */
|
||||||
esc_html_e( 'One thought on “%1$s”', '_s' ),
|
esc_html_e( 'One thought on “%1$s”', '_s' ),
|
||||||
|
|
Reference in New Issue