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

git-svn-id: http://svn.automattic.com/wordpress/trunk@1244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-05-09 02:52:27 +00:00
parent d086da27e7
commit 4915acfefd
4 changed files with 12 additions and 5 deletions

View File

@@ -820,7 +820,7 @@ function upgrade_110() {
// Option for category base
if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'category_base'")) {
$wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('category_base', 3, '/category', 8)");
$wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('category_base', 3, '', 8)");
}
// Delete unused options