Make WordPress Core


Ignore:
Timestamp:
03/27/2024 12:28:37 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp-includes/pomo/plural-forms.php.

Follow-up to [41722].

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pomo/plural-forms.php

    r56549 r57883  
    321321                        $v2      = array_pop( $stack );
    322322                        $v1      = array_pop( $stack );
    323                         $stack[] = $v1 != $v2;
     323                        $stack[] = $v1 !== $v2;
    324324                        break;
    325325
     
    327327                        $v2      = array_pop( $stack );
    328328                        $v1      = array_pop( $stack );
    329                         $stack[] = $v1 == $v2;
     329                        $stack[] = $v1 === $v2;
    330330                        break;
    331331
Note: See TracChangeset for help on using the changeset viewer.