Code Duplication    Length = 4-7 lines in 2 locations

wp-admin/includes/network.php 2 locations

@@ 498-504 (lines=7) @@
495
                    <match url="^index\.php$" ignoreCase="false" />
496
                    <action type="None" />
497
                </rule>';
498
				if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) {
499
					$web_config_file .= '
500
                <rule name="WordPress Rule for Files" stopProcessing="true">
501
                    <match url="^' . $iis_subdir_match . 'files/(.+)" ignoreCase="false" />
502
                    <action type="Rewrite" url="' . $iis_rewrite_base . WPINC . '/ms-files.php?file={R:1}" appendQueryString="false" />
503
                </rule>';
504
                }
505
                $web_config_file .= '
506
                <rule name="WordPress Rule 2" stopProcessing="true">
507
                    <match url="^' . $iis_subdir_match . 'wp-admin$" ignoreCase="false" />
@@ 554-557 (lines=4) @@
551
	<?php else : // end iis7_supports_permalinks(). construct an htaccess file instead:
552
553
		$ms_files_rewriting = '';
554
		if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) {
555
			$ms_files_rewriting = "\n# uploaded files\nRewriteRule ^";
556
			$ms_files_rewriting .= $subdir_match . "files/(.+) {$rewrite_base}" . WPINC . "/ms-files.php?file={$subdir_replacement_12} [L]" . "\n";
557
		}
558
559
		$htaccess_file = <<<EOF
560
RewriteEngine On