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:
parent
95f1ba70eb
commit
af0a8e253d
|
@ -320,13 +320,13 @@ if ( ! class_exists( 'Plural_Forms', false ) ) :
|
||||||
case '!=':
|
case '!=':
|
||||||
$v2 = array_pop( $stack );
|
$v2 = array_pop( $stack );
|
||||||
$v1 = array_pop( $stack );
|
$v1 = array_pop( $stack );
|
||||||
$stack[] = $v1 != $v2;
|
$stack[] = $v1 !== $v2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '==':
|
case '==':
|
||||||
$v2 = array_pop( $stack );
|
$v2 = array_pop( $stack );
|
||||||
$v1 = array_pop( $stack );
|
$v1 = array_pop( $stack );
|
||||||
$stack[] = $v1 == $v2;
|
$stack[] = $v1 === $v2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '?:':
|
case '?:':
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue