From a6e130757610365b338faae84ee65f54425359c1 Mon Sep 17 00:00:00 2001 From: wpmuguru Date: Thu, 27 May 2010 18:06:48 +0000 Subject: [PATCH] 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 --- wp-admin/includes/schema.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index 363e3763a7..b27931404c 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -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 ); } }