Add braces around single-line conditionals. See http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/.
This commit is contained in:
parent
aa0879e054
commit
6264437ff9
7 changed files with 27 additions and 14 deletions
3
page.php
3
page.php
|
@ -21,8 +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();
|
||||
}
|
||||
?>
|
||||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue