From af0a4749be6f9175260c44a93139a252998a4f4b Mon Sep 17 00:00:00 2001 From: Grant Palin Date: Fri, 7 Aug 2015 09:59:26 -0700 Subject: [PATCH] Update comparisons to resolve the strict comparison warnings. See https://github.com/Automattic/_s/issues/784 --- comments.php | 2 +- inc/custom-header.php | 4 ++-- inc/template-tags.php | 2 +- template-parts/content-search.php | 2 +- template-parts/content.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/comments.php b/comments.php index 7a3349b..15a3b2b 100644 --- a/comments.php +++ b/comments.php @@ -72,7 +72,7 @@ if ( post_password_required() ) {

diff --git a/inc/custom-header.php b/inc/custom-header.php index 9c17195..7e2d6af 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -47,7 +47,7 @@ function _s_header_style() { // If no custom options for text are set, let's bail // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value. - if ( HEADER_TEXTCOLOR == $header_text_color ) { + if ( HEADER_TEXTCOLOR === $header_text_color ) { return; } @@ -56,7 +56,7 @@ function _s_header_style() {