alway update fileupload_url during initial network install, see #13828
git-svn-id: https://develop.svn.wordpress.org/trunk@15202 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
825032bbf6
commit
06dadab38b
|
@ -738,8 +738,8 @@ Thanks!
|
|||
if ( !$upload_path = get_option( 'upload_path' ) ) {
|
||||
$upload_path = substr( WP_CONTENT_DIR, strlen( ABSPATH ) ) . '/uploads';
|
||||
update_option( 'upload_path', $upload_path );
|
||||
update_option( 'fileupload_url', get_option( 'siteurl' ) . '/' . $upload_path );
|
||||
}
|
||||
update_option( 'fileupload_url', get_option( 'siteurl' ) . '/' . $upload_path );
|
||||
}
|
||||
|
||||
if ( $subdomain_install )
|
||||
|
|
Loading…
Reference in New Issue