mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-09 00:51:35 +01:00
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
This commit is contained in:
parent
d4dd0fe211
commit
3c278d6421
@ -149,6 +149,9 @@ function save_mod_rewrite_rules() {
|
|||||||
* @return bool True if web.config was updated successfully
|
* @return bool True if web.config was updated successfully
|
||||||
*/
|
*/
|
||||||
function iis7_save_url_rewrite_rules(){
|
function iis7_save_url_rewrite_rules(){
|
||||||
|
if ( is_multisite() )
|
||||||
|
return;
|
||||||
|
|
||||||
global $wp_rewrite;
|
global $wp_rewrite;
|
||||||
|
|
||||||
$home_path = get_home_path();
|
$home_path = get_home_path();
|
||||||
|
Loading…
Reference in New Issue
Block a user