mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
alway update fileupload_url during initial network install, see #13828
git-svn-id: http://svn.automattic.com/wordpress/trunk@15202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
528951c7ef
commit
54521415c2
@ -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
Block a user