Make WordPress Core

Changeset 47941


Ignore:
Timestamp:
06/09/2020 08:00:47 PM (5 years ago)
Author:
ianbelanger
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/comments.php

    r47122 r47941  
    3333            if ( ! have_comments() ) {
    3434                _e( 'Leave a comment', 'twentytwenty' );
    35             } elseif ( '1' === $comments_number ) {
     35            } elseif ( 1 === $comments_number ) {
    3636                /* translators: %s: Post title. */
    3737                printf( _x( 'One reply on “%s”', 'comments title', 'twentytwenty' ), get_the_title() );
Note: See TracChangeset for help on using the changeset viewer.