diff --git a/wp-admin/network.php b/wp-admin/network.php index d0b9f225d..6b847a653 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -116,6 +116,7 @@ include( './admin-header.php' ); * @since 3.0.0 */ function network_step1( $errors = false ) { + global $is_apache; if ( get_option( 'siteurl' ) != get_option( 'home' ) ) { echo '

' . __('Error:') . ' ' . sprintf( __( 'Your WordPress address must match your Site address before creating a Network. See General Settings.' ), esc_url( admin_url( 'options-general.php' ) ) ) . '

'; @@ -166,7 +167,6 @@ function network_step1( $errors = false ) {

' . __( 'Note:' ) . ' ' . __( 'Please make sure the Apache mod_rewrite module is installed as it will be used at the end of this installation.' ) . '

'; - else + elseif ( $is_apache ) echo '

' . __( 'Warning!' ) . ' ' . __( 'It looks like the Apache mod_rewrite module is not installed.' ) . '

'; - echo '

' . __( 'If mod_rewrite is disabled, ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.' ) . '

'; + if ( $is_apache ) + echo '

' . __( 'If mod_rewrite is disabled, ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.' ) . '

'; } if ( allow_subdomain_install() && allow_subdirectory_install() ) : ?>