Make WordPress Core


Ignore:
Timestamp:
05/09/2004 02:52:27 AM (22 years ago)
Author:
saxmatt
Message:

Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.

File:
1 edited

Legend:

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

    r1242 r1244  
    821821    // Option for category base
    822822    if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'category_base'")) {
    823         $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('category_base', 3, '/category', 8)");
     823        $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('category_base', 3, '', 8)");
    824824    }
    825825
Note: See TracChangeset for help on using the changeset viewer.