diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php index 6f27b2888a..3f29c71b86 100644 --- a/wp-admin/includes/network.php +++ b/wp-admin/includes/network.php @@ -34,7 +34,7 @@ function network_domain_check() { */ function allow_subdomain_install() { $domain = preg_replace( '|https?://([^/]+)|', '$1', get_option( 'home' ) ); - if ( parse_url( get_option( 'home' ), PHP_URL_PATH ) || 'localhost' == $domain || preg_match( '|^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$|', $domain ) ) { + if ( parse_url( get_option( 'home' ), PHP_URL_PATH ) || 'localhost' === $domain || preg_match( '|^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$|', $domain ) ) { return false; } @@ -256,7 +256,7 @@ function network_step1( $errors = false ) {

' . __( 'Warning:' ) . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '

'; } @@ -293,7 +293,7 @@ function network_step1( $errors = false ) {

- +