WordPress.org

Make WordPress Core

Ticket #25106: 25106.patch

File 25106.patch, 624 bytes (added by SergeyBiryukov, 23 months ago)
  • wp-admin/network.php

     
    409409                // IIS doesn't support RewriteBase, all your RewriteBase are belong to us 
    410410                $iis_subdir_match = ltrim( $base, '/' ) . $subdir_match; 
    411411                $iis_rewrite_base = ltrim( $base, '/' ) . $rewrite_base; 
    412                 $iis_subdir_replacement = $subdomain_install ? '' : '{R:1}'; 
     412                $iis_subdir_replacement = $subdomain_install ? $iis_rewrite_base : '{R:1}'; 
    413413 
    414414                $web_config_file = '<?xml version="1.0" encoding="UTF-8"?> 
    415415<configuration>