From 107d80fd95fd56861860595f06a850e562473dc0 Mon Sep 17 00:00:00 2001 From: wpmuguru Date: Fri, 12 Feb 2010 17:37:17 +0000 Subject: [PATCH] add siteurl site option for MU upgrade, See #11644 git-svn-id: http://svn.automattic.com/wordpress/trunk@13067 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 3bdda13470..f58f84a583 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -1099,6 +1099,8 @@ function upgrade_290() { */ function upgrade_300() { populate_roles_300(); + if ( is_multisite() && is_main_site() && ! defined( 'MULTISITE' ) && get_site_option( 'siteurl' ) === false ) + add_site_option( 'siteurl', '' ); } /**