mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00: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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user