add fileupload_url option to main site on network install, see #13483
git-svn-id: http://svn.automattic.com/wordpress/trunk@14998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
859beb4d84
commit
a6e1307576
|
@ -737,6 +737,7 @@ 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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue