Changeset 43571 for trunk/src/wp-content/themes/twentyten/comments.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/comments.php
r42343 r43571 18 18 <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p> 19 19 </div><!-- #comments --> 20 <?php20 <?php 21 21 /* 22 22 * Stop the rest of comments.php from being processed, … … 37 37 printf( 38 38 _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ), 39 number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' 39 number_format_i18n( get_comments_number() ), 40 '<em>' . get_the_title() . '</em>' 40 41 ); 41 42 ?> 42 43 </h3> 43 44 44 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>45 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 45 46 <div class="navigation"> 46 47 <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div> 47 48 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div> 48 49 </div> <!-- .navigation --> 49 <?php endif; // check for comment navigation ?>50 <?php endif; // check for comment navigation ?> 50 51 51 52 <ol class="commentlist"> … … 62 63 </ol> 63 64 64 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>65 <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> 65 66 <div class="navigation"> 66 67 <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'twentyten' ) ); ?></div> 67 68 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div> 68 69 </div><!-- .navigation --> 69 <?php endif; // check for comment navigation ?>70 <?php endif; // check for comment navigation ?> 70 71 71 72 <?php … … 75 76 */ 76 77 if ( ! comments_open() && get_comments_number() ) : 77 ?>78 ?> 78 79 <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p> 79 80 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.