Changeset 47808 for trunk/src/wp-includes/ms-default-constants.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-default-constants.php
r47122 r47808 37 37 38 38 // Uploads dir relative to ABSPATH. 39 if ( 'wp-content/blogs.dir' == UPLOADBLOGSDIR && ! defined( 'BLOGUPLOADDIR' ) ) {39 if ( 'wp-content/blogs.dir' === UPLOADBLOGSDIR && ! defined( 'BLOGUPLOADDIR' ) ) { 40 40 define( 'BLOGUPLOADDIR', WP_CONTENT_DIR . '/blogs.dir/' . $site_id . '/files/' ); 41 41 } … … 156 156 if ( defined( 'SUBDOMAIN_INSTALL' ) && defined( 'VHOST' ) ) { 157 157 $subdomain_error = true; 158 if ( SUBDOMAIN_INSTALL !== ( 'yes' == VHOST ) ) {158 if ( SUBDOMAIN_INSTALL !== ( 'yes' === VHOST ) ) { 159 159 $subdomain_error_warn = true; 160 160 } … … 164 164 } elseif ( defined( 'VHOST' ) ) { 165 165 $subdomain_error = true; 166 define( 'SUBDOMAIN_INSTALL', 'yes' == VHOST );166 define( 'SUBDOMAIN_INSTALL', 'yes' === VHOST ); 167 167 } else { 168 168 $subdomain_error = false;
Note: See TracChangeset
for help on using the changeset viewer.