Changeset 34912 for trunk/src/wp-admin/includes/network.php
- Timestamp:
- 10/07/2015 05:11:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/network.php
r34778 r34912 451 451 <action type="None" /> 452 452 </rule>'; 453 if ( is_multisite() && get_ network_option( 'ms_files_rewriting' ) ) {453 if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { 454 454 $web_config_file .= ' 455 455 <rule name="WordPress Rule for Files" stopProcessing="true"> … … 507 507 508 508 $ms_files_rewriting = ''; 509 if ( is_multisite() && get_ network_option( 'ms_files_rewriting' ) ) {509 if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { 510 510 $ms_files_rewriting = "\n# uploaded files\nRewriteRule ^"; 511 511 $ms_files_rewriting .= $subdir_match . "files/(.+) {$rewrite_base}" . WPINC . "/ms-files.php?file={$subdir_replacement_12} [L]" . "\n";
Note: See TracChangeset
for help on using the changeset viewer.