From 3c278d6421a62382749fae3fd4f2b2c3c2328211 Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 19 Jan 2011 16:49:46 +0000 Subject: [PATCH] Don't touch web.config when flushing rewrite rules if it is a multisite install. Fixes #16076 props nacin. git-svn-id: http://svn.automattic.com/wordpress/trunk@17328 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/misc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index e3d3dadf81..d8ab0fca27 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -149,6 +149,9 @@ function save_mod_rewrite_rules() { * @return bool True if web.config was updated successfully */ function iis7_save_url_rewrite_rules(){ + if ( is_multisite() ) + return; + global $wp_rewrite; $home_path = get_home_path();