Permalink
Browse files

_s: Use verbose syntax for conditionals in templates.

  • Loading branch information...
1 parent 6264437 commit d9ece3b8047eb637d7565a47335f9df3d7a24a4b @obenland obenland committed Nov 24, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 page.php
  2. +2 −2 single.php
View
@@ -21,9 +21,9 @@
<?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
@@ -18,9 +18,9 @@
<?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. ?>

0 comments on commit d9ece3b

Please sign in to comment.