forked from mirror/_s
Merge pull request #633 from sdavis2702/master
Remove unnecessary comparisons. Closes #632.
This commit is contained in:
commit
eab9f19d63
2
page.php
2
page.php
|
@ -21,7 +21,7 @@ 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() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
?>
|
||||
|
|
|
@ -18,7 +18,7 @@ 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() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
?>
|
||||
|
@ -29,4 +29,4 @@ get_header(); ?>
|
|||
</div><!-- #primary -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
||||
<?php get_footer(); ?>
|
||||
|
|
Reference in New Issue