From af0a8e253d5ab1d10e9049dd9898e447df6ea867 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 27 Mar 2024 12:30:12 +0000 Subject: [PATCH] Coding Standards: Use strict comparison in `wp-includes/pomo/plural-forms.php`. Follow-up to [41722]. Props aristath, poena, afercia, SergeyBiryukov. See #60700. Built from https://develop.svn.wordpress.org/trunk@57883 git-svn-id: http://core.svn.wordpress.org/trunk@57384 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pomo/plural-forms.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/pomo/plural-forms.php b/wp-includes/pomo/plural-forms.php index ae9c306d98..a604334e88 100644 --- a/wp-includes/pomo/plural-forms.php +++ b/wp-includes/pomo/plural-forms.php @@ -320,13 +320,13 @@ if ( ! class_exists( 'Plural_Forms', false ) ) : case '!=': $v2 = array_pop( $stack ); $v1 = array_pop( $stack ); - $stack[] = $v1 != $v2; + $stack[] = $v1 !== $v2; break; case '==': $v2 = array_pop( $stack ); $v1 = array_pop( $stack ); - $stack[] = $v1 == $v2; + $stack[] = $v1 === $v2; break; case '?:': diff --git a/wp-includes/version.php b/wp-includes/version.php index 8e8fc25aed..fed1564802 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57882'; +$wp_version = '6.6-alpha-57883'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.