Remove ms-files.php rewriting from WordPress multisite. fixes #19235.

Keep existing networks compatible with a ms_files_rewriting network option.



git-svn-id: http://core.svn.wordpress.org/trunk@21823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2012-09-11 22:22:20 +00:00
parent bc6087bc98
commit dc49f24a6c
12 changed files with 132 additions and 102 deletions

View File

@@ -1271,6 +1271,10 @@ function upgrade_network() {
delete_site_option( 'allowed_themes' );
}
}
// 3.5
if ( $wp_current_db_version < 21823 )
update_site_option( 'ms_files_rewriting', '1' );
}
// The functions we use to actually do stuff