WordPress.org

Make WordPress Core

Ticket #20469: 20469.4.diff

File 20469.4.diff, 1.9 KB (added by SergeyBiryukov, 6 years ago)
  • wp-content/themes/twentyeleven/comments.php

     
    6868                 * But we only want the note on posts and pages that had comments in the first place.
    6969                 */
    7070                if ( ! comments_open() && get_comments_number() ) : ?>
    71                 <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyeleven' ); ?></p>
     71                <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyeleven' ); ?></p>
    7272                <?php endif; ?>
    7373
    7474        <?php endif; // have_comments() ?>
  • wp-content/themes/twentyten/comments.php

     
    6767 * But we only want the note on posts and pages that had comments in the first place.
    6868 */
    6969if ( ! comments_open() && get_comments_number() ) : ?>
    70         <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p>
    71 <?php endif; // end ! comments_open ?>
     70        <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p>
     71<?php endif; // end ! comments_open() ?>
    7272
    7373<?php endif; // end have_comments() ?>
    7474
  • wp-content/themes/twentytwelve/comments.php

     
    5151                 */
    5252                if ( ! comments_open() && get_comments_number() ) : ?>
    5353                <!-- If comments are closed. -->
    54                 <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentytwelve' ); ?></p>
     54                <p class="nocomments"><?php _e( 'Comments are closed.', 'twentytwelve' ); ?></p>
    5555                <?php endif; ?>
    5656
    5757        <?php endif; // have_comments() ?>