Changeset 42343 for trunk/src/wp-content/themes/twentyfourteen/comments.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/comments.php
r41762 r42343 26 26 <?php 27 27 $comments_number = get_comments_number(); 28 if ( '1' === $comments_number ) {29 /* translators: %s: post title */30 printf( _x( 'One thought on “%s”', 'comments title', 'twentyfourteen' ), get_the_title() );31 } else {32 printf(33 /* translators: 1: number of comments, 2: post title */34 _nx(35 '%1$s thought on “%2$s”',36 '%1$s thoughts on “%2$s”',37 $comments_number,38 'comments title',39 'twentyfourteen'40 ),41 number_format_i18n( $comments_number ),42 get_the_title()43 );44 }28 if ( '1' === $comments_number ) { 29 /* translators: %s: post title */ 30 printf( _x( 'One thought on “%s”', 'comments title', 'twentyfourteen' ), get_the_title() ); 31 } else { 32 printf( 33 /* translators: 1: number of comments, 2: post title */ 34 _nx( 35 '%1$s thought on “%2$s”', 36 '%1$s thoughts on “%2$s”', 37 $comments_number, 38 'comments title', 39 'twentyfourteen' 40 ), 41 number_format_i18n( $comments_number ), 42 get_the_title() 43 ); 44 } 45 45 ?> 46 46 </h2> … … 56 56 <ol class="comment-list"> 57 57 <?php 58 wp_list_comments( array( 59 'style' => 'ol', 60 'short_ping' => true, 61 'avatar_size' => 34, 62 ) ); 58 wp_list_comments( 59 array( 60 'style' => 'ol', 61 'short_ping' => true, 62 'avatar_size' => 34, 63 ) 64 ); 63 65 ?> 64 66 </ol><!-- .comment-list -->
Note: See TracChangeset
for help on using the changeset viewer.