mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
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:
parent
3e103142ab
commit
7d34c9b149
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user