mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Merge mu_upload_dir() into wp_upload_dir(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12850 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2062,6 +2062,9 @@ function wp_upload_dir( $time = null ) {
|
||||
$url = trailingslashit( $siteurl ) . UPLOADS;
|
||||
}
|
||||
|
||||
if ( is_multisite() && defined( 'BLOGUPLOADDIR' ) )
|
||||
$dir = untrailingslashit(BLOGUPLOADDIR);
|
||||
|
||||
$bdir = $dir;
|
||||
$burl = $url;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user