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:
parent
32116649cf
commit
4e61c5fb0f
|
@ -32,7 +32,7 @@ if ( $comments ) {
|
||||||
<?php
|
<?php
|
||||||
if ( ! have_comments() ) {
|
if ( ! have_comments() ) {
|
||||||
_e( 'Leave a comment', 'twentytwenty' );
|
_e( 'Leave a comment', 'twentytwenty' );
|
||||||
} elseif ( '1' === $comments_number ) {
|
} elseif ( 1 === $comments_number ) {
|
||||||
/* translators: %s: Post title. */
|
/* translators: %s: Post title. */
|
||||||
printf( _x( 'One reply on “%s”', 'comments title', 'twentytwenty' ), get_the_title() );
|
printf( _x( 'One reply on “%s”', 'comments title', 'twentytwenty' ), get_the_title() );
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue