Set home during install. Props Owen and Mark. fixes #1506

git-svn-id: https://develop.svn.wordpress.org/trunk@2817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-08-29 19:12:29 +00:00
parent aa4db5d4ef
commit 7f27e37e92

View File

@ -195,7 +195,9 @@ function populate_options() {
add_option('blog_charset', 'UTF-8');
add_option('moderation_keys');
add_option('active_plugins');
add_option('home');
add_option('home', $guessurl);
// in case it is set, but blank, update "home"
if ( !__get_option('home') ) update_option('home', $guessurl);
add_option('category_base');
add_option('ping_sites', 'http://rpc.pingomatic.com/');
add_option('advanced_edit', 0);