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:
parent
aa4db5d4ef
commit
7f27e37e92
@ -195,7 +195,9 @@ function populate_options() {
|
|||||||
add_option('blog_charset', 'UTF-8');
|
add_option('blog_charset', 'UTF-8');
|
||||||
add_option('moderation_keys');
|
add_option('moderation_keys');
|
||||||
add_option('active_plugins');
|
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('category_base');
|
||||||
add_option('ping_sites', 'http://rpc.pingomatic.com/');
|
add_option('ping_sites', 'http://rpc.pingomatic.com/');
|
||||||
add_option('advanced_edit', 0);
|
add_option('advanced_edit', 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user