diff --git a/src/wp-admin/includes/network.php b/src/wp-admin/includes/network.php
index 70cb14ea93..c4f2c83758 100644
a
|
b
|
function network_step1( $errors = false ) { |
384 | 384 | */ |
385 | 385 | function network_step2( $errors = false ) { |
386 | 386 | global $wpdb; |
| 387 | global $is_nginx; |
387 | 388 | |
388 | 389 | $hostname = get_clean_basedomain(); |
389 | 390 | $slashed_home = trailingslashit( get_option( 'home' ) ); |
… |
… |
define('BLOG_ID_CURRENT_SITE', 1); |
616 | 617 | </ol> |
617 | 618 | |
618 | 619 | <?php |
619 | | else : // End iis7_supports_permalinks(). Construct an .htaccess file instead: |
| 620 | elseif ( $is_nginx ): // end iis7_supports_permalinks(). check if server is nginx and print link to Codex: |
| 621 | $section = $subdomain_install ? 'wordpress-multisite-subdomains-rules' : 'wordpress-multisite-subdirectory-rules'; |
| 622 | echo '<li><p>'; |
| 623 | printf( |
| 624 | /* translators: Documentation link. */ |
| 625 | __( 'It seems your network is running with NGINX webserver. Please, visit %s to get details about further configuration.' ), |
| 626 | '<a href="https://wordpress.org/support/article/nginx/#' . $section . '" target="_blank">https://wordpress.org/support/article/nginx/#' . $section . '</a>' |
| 627 | ); |
| 628 | echo '</p>' |
| 629 | ?> |
| 630 | |
| 631 | <?php |
| 632 | else : // end of nginx variant, construct .htaccess |
620 | 633 | |
621 | 634 | $ms_files_rewriting = ''; |
622 | 635 | if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { |