Merge pull request #633 from sdavis2702/master

Remove unnecessary comparisons. Closes #632.
This commit is contained in:
Konstantin Obenland 2014-10-14 18:02:44 -07:00
commit eab9f19d63
2 changed files with 3 additions and 3 deletions

View File

@ -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;
?>

View File

@ -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(); ?>