From a1673dccae2efcbc4587f99144c0fd0662568613 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 16 Jun 2023 11:21:59 +0000 Subject: [PATCH] Coding Standards: Use strict comparison in `wp-includes/pomo/entry.php`. Follow-up to [18528]. Props aristath, poena, afercia, SergeyBiryukov. See #57839. git-svn-id: https://develop.svn.wordpress.org/trunk@55927 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pomo/entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pomo/entry.php b/src/wp-includes/pomo/entry.php index 983f1d4113..cd209e2f20 100644 --- a/src/wp-includes/pomo/entry.php +++ b/src/wp-includes/pomo/entry.php @@ -108,7 +108,7 @@ if ( ! class_exists( 'Translation_Entry', false ) ) : public function merge_with( &$other ) { $this->flags = array_unique( array_merge( $this->flags, $other->flags ) ); $this->references = array_unique( array_merge( $this->references, $other->references ) ); - if ( $this->extracted_comments != $other->extracted_comments ) { + if ( $this->extracted_comments !== $other->extracted_comments ) { $this->extracted_comments .= $other->extracted_comments; }