diff --git a/wp-admin/network.php b/wp-admin/network.php index cf5deb9dc7..e6f951314c 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -56,11 +56,9 @@ function network_step1() { } $hostname = get_clean_basedomain(); - if ( 'localhost' == $hostname || preg_match( '|[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|', $hostname ) ) { + if ( preg_match( '|[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|', $hostname ) ) { echo '
' . __('You cannot install a network of sites with your server address.' ) . '
'; - echo '' . __('You cannot use an IP address such as 127.0.0.1
or a single-word hostname like localhost
.' ) . '
' . __('Consider using localhost.localdomain
.') . '
' . __('You cannot use an IP address such as 127.0.0.1
.' ) . '
You cannot change this later.' ); ?>
@@ -113,6 +111,8 @@ function network_step1() { @@ -131,6 +131,12 @@ function network_step1() {+ | localhost, the sites in your WordPress network must use sub-directories. Consider using localhost.localdomain if you wish to use sub-domains.'); ?> |
+
---|---|
@@ -174,7 +180,7 @@ function network_step2() { |