add siteurl site option for MU upgrade, See #11644

git-svn-id: http://svn.automattic.com/wordpress/trunk@13067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wpmuguru 2010-02-12 17:37:17 +00:00
parent f97aa91a68
commit 107d80fd95
1 changed files with 2 additions and 0 deletions

View File

@ -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', '' );
}
/**