Changeset 22616 for trunk/wp-content/themes/twentyeleven/comments.php
- Timestamp:
- 11/16/2012 09:31:02 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyeleven/comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/comments.php
r22588 r22616 68 68 * But we only want the note on posts and pages that had comments in the first place. 69 69 */ 70 if ( ! comments_open() && ! empty( $comments_by_type['comment']) ) : ?>70 if ( ! comments_open() && get_comments_number() ) : ?> 71 71 <p class="nocomments"><?php _e( 'Comments are closed.' , 'twentyeleven' ); ?></p> 72 72 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.