Changeset 47632
- Timestamp:
- 04/29/2020 02:41:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/network.php
r47550 r47632 379 379 * @since 3.0.0 380 380 * 381 * @global wpdb $wpdb WordPress database abstraction object. 381 * @global wpdb $wpdb WordPress database abstraction object. 382 * @global bool $is_nginx Whether the server software is Nginx or something else. 382 383 * 383 384 * @param WP_Error $errors 384 385 */ 385 386 function network_step2( $errors = false ) { 386 global $wpdb ;387 global $wpdb, $is_nginx; 387 388 388 389 $hostname = get_clean_basedomain(); … … 617 618 618 619 <?php 619 else : // End iis7_supports_permalinks(). Construct an .htaccess file instead: 620 elseif ( $is_nginx ) : // End iis7_supports_permalinks(). Link to Nginx documentation instead: 621 622 echo '<li><p>'; 623 printf( 624 /* translators: %s: Documentation URL. */ 625 __( 'It seems your network is running with Nginx web server. <a href="%s">Learn more about further configuration</a>.' ), 626 __( 'https://wordpress.org/support/article/nginx/' ) 627 ); 628 echo '</p></li>'; 629 630 else : // End $is_nginx. Construct an .htaccess file instead: 620 631 621 632 $ms_files_rewriting = ''; … … 659 670 660 671 <?php 661 endif; // End IIS/ Apache code branches.672 endif; // End IIS/Nginx/Apache code branches. 662 673 663 674 if ( ! is_multisite() ) {
Note: See TracChangeset
for help on using the changeset viewer.