From 03d2d121bad0daf78cff414c24eff12f2c026344 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 d4a21b7..ccc6ef6 100644 --- a/comments.php +++ b/comments.php @@ -73,7 +73,7 @@

diff --git a/inc/custom-header.php b/inc/custom-header.php index d66507e..2d74ce4 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -47,7 +47,7 @@ function marker_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 marker_header_style() {