Bundled Themes: Twenty Twenty number of replies not translatable.

Fixes the issue by removing the single quote from around the `1` in the elseif conditional of the comments template.

Props Parvand, SergeyBiryukov, desrosj, juliobox, Mista-Flo, benjamingosset, audrasjb, opurockey.
Fixes #49058.
Built from https://develop.svn.wordpress.org/trunk@47941


git-svn-id: http://core.svn.wordpress.org/trunk@47714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ianbelanger 2020-06-09 20:02:08 +00:00
parent 32116649cf
commit 4e61c5fb0f
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ if ( $comments ) {
<?php
if ( ! have_comments() ) {
_e( 'Leave a comment', 'twentytwenty' );
} elseif ( '1' === $comments_number ) {
} elseif ( 1 === $comments_number ) {
/* translators: %s: Post title. */
printf( _x( 'One reply on &ldquo;%s&rdquo;', 'comments title', 'twentytwenty' ), get_the_title() );
} else {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-47940';
$wp_version = '5.5-alpha-47941';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.