WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/26/2010 08:02:11 PM (10 years ago)
Author:
ryan
Message:

Integrate fix_upload_details() into wp_upload_dir(). see #11644

File:
1 edited

Legend:

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

    r12850 r12851  
    20632063    }
    20642064
    2065     if ( is_multisite() && defined( 'BLOGUPLOADDIR' ) )
    2066         $dir = untrailingslashit(BLOGUPLOADDIR);
     2065    if ( is_multisite() ) {
     2066        if ( defined( 'BLOGUPLOADDIR' ) )
     2067            $dir = untrailingslashit(BLOGUPLOADDIR);
     2068        $url = str_replace( UPLOADS, 'files', $url );
     2069    }
    20672070
    20682071    $bdir = $dir;
Note: See TracChangeset for help on using the changeset viewer.