Make WordPress Core

Changeset 1234


Ignore:
Timestamp:
05/05/2004 09:28:39 PM (20 years ago)
Author:
saxmatt
Message:

Default for new option.

File:
1 edited

Legend:

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

    r1229 r1234  
    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, '', 8)");
     823        $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('category_base', 3, 'category', 8)");
    824824    }
    825825
Note: See TracChangeset for help on using the changeset viewer.