Merge pull request #511 from Vishal-Deshpande/patch-4

Update comments.php - Thx @Vishal-Deshpande
This commit is contained in:
Holger 2017-12-29 10:10:19 +01:00 committed by GitHub
commit 7fb3c4eb86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if ( post_password_required() ) {
<?php <?php
$comments_number = get_comments_number(); $comments_number = get_comments_number();
if ( 1 === $comments_number ) { if ( 1 === (int)$comments_number ) {
printf( printf(
/* translators: %s: post title */ /* translators: %s: post title */
esc_html_x( 'One thought on &ldquo;%s&rdquo;', 'comments title', 'understrap' ), esc_html_x( 'One thought on &ldquo;%s&rdquo;', 'comments title', 'understrap' ),