Make WordPress Core


Ignore:
Timestamp:
02/09/2020 04:52:28 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use Yoda conditions where appropriate.

See #49222.

File:
1 edited

Legend:

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

    r47122 r47219  
    116116        }
    117117
    118         if ( $blog->archived == '1' || $blog->spam == '1' ) {
     118        if ( '1' == $blog->archived || '1' == $blog->spam ) {
    119119                if ( file_exists( WP_CONTENT_DIR . '/blog-suspended.php' ) ) {
    120120                        return WP_CONTENT_DIR . '/blog-suspended.php';
Note: See TracChangeset for help on using the changeset viewer.