Changeset 5973 for sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base/comments.php
- Timestamp:
- 09/28/2017 07:11:32 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base/comments.php
r5972 r5973 34 34 <h3 id="comments-title"> 35 35 <?php 36 if ( 1 === get_comments_number() ) { 37 printf( 38 /* translators: %s: post title */ 39 esc_html_x( 'One Response to “%s”', 'comments title', 'wordcamporg' ), 40 '<span>' . get_the_title() . '</span>' 41 ); 36 $comments_number = get_comments_number(); 37 if ( '1' === $comments_number ) { 38 printf( 39 /* translators: %s: post title */ 40 _x( 'One Response to “%s”', 'comments title', 'wordcamporg' ), 41 '<span>' . get_the_title() . '</span>' 42 ); 42 43 } else { 43 44 printf( 44 45 /* translators: 1: number of comments, 2: post title */ 45 esc_html( _nx( '%1$s Response to “%2$s”', '%1$s Responses to “%2$s”', get_comments_number(), 'comments title', 'wordcamporg' ) ), 46 number_format_i18n( get_comments_number() ), 46 _nx( 47 '%1$s Response to “%2$s”', 48 '%1$s Responses to “%2$s”', 49 $comments_number, 50 'comments title', 51 'wordcamporg' 52 ), 53 number_format_i18n( $comments_number ), 47 54 '<span>' . get_the_title() . '</span>' 48 55 );
Note: See TracChangeset
for help on using the changeset viewer.