Changeset 22222 for trunk/wp-includes/ms-default-constants.php
- Timestamp:
- 10/12/2012 10:05:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-default-constants.php
r21892 r22222 29 29 define( 'UPLOADBLOGSDIR', 'wp-content/blogs.dir' ); 30 30 31 // The main site in a post-MU network uses wp-content/uploads.32 // This used to be handled in wp_upload_dir() by ignoring UPLOADS for this case. Avoid defining it instead.31 // Note, the main site in a post-MU network uses wp-content/uploads. 32 // This is handled in wp_upload_dir() by ignoring UPLOADS for this case. 33 33 if ( ! defined( 'UPLOADS' ) ) { 34 if ( ! ( is_main_site() && defined( 'MULTISITE' ) ) ) 35 define( 'UPLOADS', UPLOADBLOGSDIR . "/{$wpdb->blogid}/files/" ); 34 define( 'UPLOADS', UPLOADBLOGSDIR . "/{$wpdb->blogid}/files/" ); 36 35 37 36 // Uploads dir relative to ABSPATH
Note: See TracChangeset
for help on using the changeset viewer.