Make WordPress Core


Ignore:
Timestamp:
04/28/2004 07:27:03 AM (21 years ago)
Author:
saxmatt
Message:

Allow WordPress installation URI and blog URI to be different.

File:
1 edited

Legend:

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

    r1188 r1203  
    799799    }
    800800
     801    // Option for different blog URL
     802    if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'home'")) {
     803        $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('home', 3, '', 8)");
     804    }
     805
    801806    // Delete unused options
    802807    $unusedoptions = array ('blodotgsping_url', 'bodyterminator', 'emailtestonly', 'phoneemail_separator', 'smilies_directory', 'subjectprefix', 'use_bbcode', 'use_blodotgsping', 'use_phoneemail', 'use_quicktags', 'use_weblogsping', 'weblogs_cache_file');
Note: See TracChangeset for help on using the changeset viewer.