_s: Use verbose syntax for conditionals in templates.

This commit is contained in:
obenland 2013-11-24 16:21:43 +00:00
parent 6264437ff9
commit d9ece3b804
2 changed files with 4 additions and 4 deletions

View File

@ -21,9 +21,9 @@ get_header(); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) {
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
}
endif;
?>
<?php endwhile; // end of the loop. ?>

View File

@ -18,9 +18,9 @@ get_header(); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() ) {
if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
}
endif;
?>
<?php endwhile; // end of the loop. ?>