Initial plugin funcitonality checkin. Not done yet.

git-svn-id: https://develop.svn.wordpress.org/trunk@1008 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-03-25 07:05:52 +00:00
parent 8198dc5328
commit 2b8bbdb401
4 changed files with 108 additions and 0 deletions
+6
View File
@@ -788,6 +788,12 @@ function upgrade_110() {
if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'moderation_keys'")) {
$wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('moderation_keys', 3, '', 8)");
}
// Option for plugins
if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'active_plugins'")) {
$wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('active_plugins', 3, '', 8)");
}
}
?>