Changeset 57877 for trunk/src/wp-includes/ms-load.php
- Timestamp:
- 03/25/2024 05:17:06 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-load.php
r57801 r57877 93 93 $blog = get_site(); 94 94 95 if ( '1' == $blog->deleted ) {95 if ( '1' === $blog->deleted ) { 96 96 if ( file_exists( WP_CONTENT_DIR . '/blog-deleted.php' ) ) { 97 97 return WP_CONTENT_DIR . '/blog-deleted.php'; … … 101 101 } 102 102 103 if ( '2' == $blog->deleted ) {103 if ( '2' === $blog->deleted ) { 104 104 if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) { 105 105 return WP_CONTENT_DIR . '/blog-inactive.php'; … … 116 116 } 117 117 118 if ( '1' == $blog->archived || '1'== $blog->spam ) {118 if ( '1' === $blog->archived || '1' === $blog->spam ) { 119 119 if ( file_exists( WP_CONTENT_DIR . '/blog-suspended.php' ) ) { 120 120 return WP_CONTENT_DIR . '/blog-suspended.php'; … … 378 378 379 379 // The network declared by the site trumps any constants. 380 if ( $current_blog && $current_blog->site_id != $current_site->id ) {380 if ( $current_blog && (int) $current_blog->site_id !== $current_site->id ) { 381 381 $current_site = WP_Network::get_instance( $current_blog->site_id ); 382 382 }
Note: See TracChangeset
for help on using the changeset viewer.