mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Coding Standards: Use strict comparison in wp-includes/option.php
.
Follow-up to [8784], [25109]. Props aristath, poena, afercia, SergeyBiryukov. See #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2e0c5a8b3a
commit
e1355c14ac
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user