FILE: /home/travis/build/Automattic/_s/comments.php
FOUND 1 ERROR AFFECTING 1 LINE
31 | ERROR | Missing singular placeholder, needed for some languages.
| | See | | https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals
| | (WordPress.WP.I18n.MissingSingularPlaceholder)
Replace in comments.php:
=======================
<?php printf( _nx( 'One comment', 'Comments: %1$s', get_comments_number(), 'comments title', 'urbanpointwp' ), number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); ?>
With: =======================
<?php $comments_number = get_comments_number();
if ( '1' === $comments_number ) {
/* translators: %s: post title */
printf( _x( 'One Reply to “%s”', 'comments title', 'urbanpointwp' ), get_the_title() );
}
else {
printf( /* translators: 1: number of comments, 2: post title */ _nx( '%1$s Reply to “%2$s”', '%1$s Replies to “%2$s”', $comments_number, 'comments title', 'urbanpointwp' ), number_format_i18n( $comments_number ), get_the_title() );
} ?>
https://gist.github.com/cristianstan/ff22d64655e322bac1bd737ea35927b4