Default for new option.
git-svn-id: https://develop.svn.wordpress.org/trunk@1234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
305ce3bea4
commit
c14190d881
|
@ -820,7 +820,7 @@ function upgrade_110() {
|
||||||
|
|
||||||
// Option for category base
|
// Option for category base
|
||||||
if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = '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, '', 8)");
|
$wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('category_base', 3, 'category', 8)");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete unused options
|
// Delete unused options
|
||||||
|
|
Loading…
Reference in New Issue