Merge pull request #511 from Vishal-Deshpande/patch-4
Update comments.php - Thx @Vishal-Deshpande
This commit is contained in:
commit
7fb3c4eb86
|
@ -28,7 +28,7 @@ if ( post_password_required() ) {
|
|||
|
||||
<?php
|
||||
$comments_number = get_comments_number();
|
||||
if ( 1 === $comments_number ) {
|
||||
if ( 1 === (int)$comments_number ) {
|
||||
printf(
|
||||
/* translators: %s: post title */
|
||||
esc_html_x( 'One thought on “%s”', 'comments title', 'understrap' ),
|
||||
|
|
Reference in New Issue