Make WordPress Core

Ticket #50221: 50221.diff

File 50221.diff, 623 bytes (added by ediamin, 5 years ago)
  • 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 {