Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Always show a message when comments are closed (except on pages), to …

…adhere to Theme Unit Test Guidelines: http://codex.wordpress.org/Theme_Unit_Test#Comments_Disabled
  • Loading branch information...
commit 7db021d0b454a3b03fada3d6eea9eb226c1d4995 1 parent fa45cdd
Konstantin Obenland authored

Showing 1 changed file with 1 addition and 5 deletions. Show diff stats Hide diff stats

  1. +1 5 source/templates/single.php
6 source/templates/single.php
@@ -15,11 +15,7 @@
15 15 <?php while ( have_posts() ) : the_post(); ?>
16 16
17 17 <?php get_template_part( 'content', get_post_format() ); ?>
18   - <?php
19   - // If comments are open or we have at least one comment, load up the comment template
20   - if ( comments_open() || '0' != get_comments_number() )
21   - comments_template( '', true );
22   - ?>
  18 + <?php comments_template( '', true ); ?>
23 19
24 20 <?php endwhile; // end of the loop. ?>
25 21

0 comments on commit 7db021d

Please sign in to comment.
Something went wrong with that request. Please try again.