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

git-svn-id: http://svn.automattic.com/wordpress/trunk@2817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-08-29 19:12:29 +00:00
parent c7940de3b3
commit ee7c13ee80
1 changed files with 3 additions and 1 deletions

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);