Coding Standards: Use strict comparison in `wp-includes/option.php`.

Follow-up to [8784], [25109].

Props aristath, poena, afercia, SergeyBiryukov.
See #58831.
Built from https://develop.svn.wordpress.org/trunk@56333


git-svn-id: http://core.svn.wordpress.org/trunk@55845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-08-01 11:01:28 +00:00
parent 3e103142ab
commit 7d34c9b149
2 changed files with 2 additions and 2 deletions

View File

@ -1151,7 +1151,7 @@ function wp_user_settings() {
$cookie = preg_replace( '/[^A-Za-z0-9=&_]/', '', $_COOKIE[ 'wp-settings-' . $user_id ] );
// No change or both empty.
if ( $cookie == $settings ) {
if ( $cookie === $settings ) {
return;
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-alpha-56332';
$wp_version = '6.4-alpha-56333';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.