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 ) {
@@ -524,7 +524,7 @@ define('BLOG_ID_CURRENT_SITE', 1);
?>
' . $home_path . '' ); echo ' '; - if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) { + if ( ! $subdomain_install && WP_CONTENT_DIR !== ABSPATH . 'wp-content' ) { echo '' . __( 'Warning:' ) . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . ' '; } ?> @@ -649,7 +649,7 @@ EOF; '' . $home_path . ' '
);
echo '';
- if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) {
+ if ( ! $subdomain_install && WP_CONTENT_DIR !== ABSPATH . 'wp-content' ) {
echo '' . __( 'Warning:' ) . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . ' '; } ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 4e8ce725dd..ab6e383de9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46962'; +$wp_version = '5.4-alpha-46963'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. |