AltoFocus: Fix missing singular placeholder, needed for some languages. Improvement wporg submission

This commit is contained in:
Allan Cole 2018-04-16 12:17:51 -04:00
parent e1a2c4ab27
commit 0d6f1ed0c4

View file

@ -28,7 +28,7 @@ if ( post_password_required() ) {
<h2 class="comments-title">
<?php
printf( // WPCS: XSS OK.
esc_html( _nx( 'One Comment', '%1$s Comments', get_comments_number(), 'comments title', 'altofocus' ) ),
esc_html( _nx( '%1$s Comment', '%1$s Comments', get_comments_number(), 'comments title', 'altofocus' ) ),
number_format_i18n( get_comments_number() )
);
?>