Make WordPress Core

Ticket #49058: 49058.diff

File 49058.diff, 623 bytes (added by benjamingosset, 4 years ago)

Apply patch

  • src/wp-content/themes/twentytwenty/comments.php

    diff --git a/src/wp-content/themes/twentytwenty/comments.php b/src/wp-content/themes/twentytwenty/comments.php
    index 9bc2d9b791..2bee32644d 100644
    a b if ( $comments ) { 
    3232                        <?php
    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 &ldquo;%s&rdquo;', 'comments title', 'twentytwenty' ), get_the_title() );
    3838                        } else {