Make WordPress Core

Changeset 2817


Ignore:
Timestamp:
08/29/2005 07:12:29 PM (21 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade-schema.php

    r2800 r2817  
    196196        add_option('moderation_keys');
    197197        add_option('active_plugins');
    198         add_option('home');
     198        add_option('home', $guessurl);
     199        // in case it is set, but blank, update "home"
     200        if ( !__get_option('home') ) update_option('home', $guessurl);
    199201        add_option('category_base');
    200202        add_option('ping_sites', 'http://rpc.pingomatic.com/');
Note: See TracChangeset for help on using the changeset viewer.