Changeset 47119 for trunk/src/wp-admin/includes/network.php
- Timestamp:
- 01/29/2020 12:33:45 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/network.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/network.php
r47085 r47119 182 182 if ( isset( $_POST['subdomain_install'] ) ) { 183 183 $subdomain_install = (bool) $_POST['subdomain_install']; 184 } elseif ( apache_mod_loaded( 'mod_rewrite' ) ) { // assume nothing184 } elseif ( apache_mod_loaded( 'mod_rewrite' ) ) { // Assume nothing. 185 185 $subdomain_install = true; 186 186 } elseif ( ! allow_subdirectory_install() ) { … … 189 189 $subdomain_install = false; 190 190 $got_mod_rewrite = got_mod_rewrite(); 191 if ( $got_mod_rewrite ) { // dangerous assumptions191 if ( $got_mod_rewrite ) { // Dangerous assumptions. 192 192 echo '<div class="updated inline"><p><strong>' . __( 'Note:' ) . '</strong> '; 193 193 printf( … … 207 207 } 208 208 209 if ( $got_mod_rewrite || $is_apache ) { // Protect against mod_rewrite mimicry (but ! Apache) 209 if ( $got_mod_rewrite || $is_apache ) { // Protect against mod_rewrite mimicry (but ! Apache). 210 210 echo '<p>'; 211 211 printf( … … 226 226 <strong><?php _e( 'You cannot change this later.' ); ?></strong></p> 227 227 <p><?php _e( 'You will need a wildcard DNS record if you are going to use the virtual host (sub-domain) functionality.' ); ?></p> 228 <?php // @todo :Link to an MS readme? ?>228 <?php // @todo Link to an MS readme? ?> 229 229 <table class="form-table" role="presentation"> 230 230 <tr> … … 548 548 <?php 549 549 if ( iis7_supports_permalinks() ) : 550 // IIS doesn't support RewriteBase, all your RewriteBase are belong to us 550 // IIS doesn't support RewriteBase, all your RewriteBase are belong to us. 551 551 $iis_subdir_match = ltrim( $base, '/' ) . $subdir_match; 552 552 $iis_rewrite_base = ltrim( $base, '/' ) . $rewrite_base; … … 617 617 618 618 <?php 619 else : // end iis7_supports_permalinks(). construct anhtaccess file instead:619 else : // End iis7_supports_permalinks(). Construct an .htaccess file instead: 620 620 621 621 $ms_files_rewriting = ''; … … 659 659 660 660 <?php 661 endif; // end IIS/Apache code branches.661 endif; // End IIS/Apache code branches. 662 662 663 663 if ( ! is_multisite() ) {
Note: See TracChangeset
for help on using the changeset viewer.