Make WordPress Core

Changeset 56333


Ignore:
Timestamp:
08/01/2023 10:59:34 AM (16 months ago)
Author:
SergeyBiryukov
Message:

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

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

Props aristath, poena, afercia, SergeyBiryukov.
See #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/option.php

    r56192 r56333  
    11521152
    11531153        // No change or both empty.
    1154         if ( $cookie == $settings ) {
     1154        if ( $cookie === $settings ) {
    11551155            return;
    11561156        }
Note: See TracChangeset for help on using the changeset viewer.