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
This commit is contained in:
Sergey Biryukov 2024-03-27 12:30:12 +00:00
parent 95f1ba70eb
commit af0a8e253d
2 changed files with 3 additions and 3 deletions

View File

@ -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 '?:':

View File

@ -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.