Update comparisons to resolve the strict comparison warnings. See https://github.com/Automattic/_s/issues/784

This commit is contained in:
Grant Palin 2015-08-07 09:59:26 -07:00
parent d02cc4fa70
commit af0a4749be
5 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<?php if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php _s_posted_on(); ?>
</div><!-- .entry-meta -->

View file

@ -13,7 +13,7 @@
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<?php if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php _s_posted_on(); ?>
</div><!-- .entry-meta -->