Make WordPress Core

Changeset 56430 for trunk


Ignore:
Timestamp:
08/23/2023 03:51:12 PM (17 months ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [12603], [12936], [56395].

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

File:
1 edited

Legend:

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

    r56395 r56430  
    1919ms_file_constants();
    2020
    21 if ( '1' == $current_blog->archived || '1' == $current_blog->spam || '1' == $current_blog->deleted ) {
     21if ( '1' === $current_blog->archived || '1' === $current_blog->spam || '1' === $current_blog->deleted ) {
    2222    status_header( 404 );
    2323    die( '404 — File not found.' );
Note: See TracChangeset for help on using the changeset viewer.