- Timestamp:
- 12/15/2017 12:13:33 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/comments.php
r5892 r6277 27 27 <?php 28 28 // You can start editing here -- including this comment! 29 if ( have_comments() ) : ?> 29 if ( have_comments() ) : 30 ?> 30 31 <h2 class="comments-title"> 31 32 <?php … … 33 34 if ( 1 === $comment_count ) { 34 35 printf( 35 /* translators: 1: title. */36 /* translators: 1: title. */ 36 37 esc_html_e( 'One thought on “%1$s”', 'wporg' ), 37 38 '<span>' . get_the_title() . '</span>' … … 39 40 } else { 40 41 printf( // WPCS: XSS OK. 41 /* translators: 1: comment count number, 2: title. */42 /* translators: 1: comment count number, 2: title. */ 42 43 esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $comment_count, 'comments title', 'wporg' ) ), 43 44 number_format_i18n( $comment_count ), … … 59 60 </ol><!-- .comment-list --> 60 61 61 <?php the_comments_navigation(); 62 <?php 63 the_comments_navigation(); 62 64 63 65 // If comments are closed and there are comments, let's leave a little note, shall we? 64 if ( ! comments_open() ) : ?> 66 if ( ! comments_open() ) : 67 ?> 65 68 <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'wporg' ); ?></p> 66 69 <?php 67 70 endif; 68 71
Note: See TracChangeset
for help on using the changeset viewer.