Make WordPress Core

Changeset 25148


Ignore:
Timestamp:
08/28/2013 03:35:44 AM (8 years ago)
Author:
nacin
Message:

The main site of a secondary network should not use the original wp-content/uploads upload path.

props jeremyfelt.
fixes #25030.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r25147 r25148  
    15551555
    15561556    // If multisite (and if not the main site in a post-MU network)
    1557     if ( is_multisite() && ! ( is_main_site() && defined( 'MULTISITE' ) ) ) {
     1557    if ( is_multisite() && ! ( is_main_network() && is_main_site() && defined( 'MULTISITE' ) ) ) {
    15581558
    15591559        if ( ! get_site_option( 'ms_files_rewriting' ) ) {
Note: See TracChangeset for help on using the changeset viewer.