Changeset 22621
- Timestamp:
- 11/16/2012 10:06:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/comments.php
r22617 r22621 63 63 <?php endif; // check for comment navigation ?> 64 64 65 <?php66 /* If there are no comments and comments are closed, let's leave a little note, shall we?67 * But we only want the note on posts and pages that had comments in the first place.68 */69 if ( ! comments_open() && get_comments_number() ) : ?>70 <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p>71 <?php endif; // end ! comments_open?>65 <?php 66 /* If there are no comments and comments are closed, let's leave a little note, shall we? 67 * But we only want the note on posts and pages that had comments in the first place. 68 */ 69 if ( ! comments_open() && get_comments_number() ) : ?> 70 <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyten' ); ?></p> 71 <?php endif; ?> 72 72 73 73 <?php endif; // end have_comments() ?>
Note: See TracChangeset
for help on using the changeset viewer.