Make WordPress Core


Ignore:
Timestamp:
03/25/2004 07:05:52 AM (20 years ago)
Author:
saxmatt
Message:

Initial plugin funcitonality checkin. Not done yet.

File:
1 edited

Legend:

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

    r994 r1008  
    789789        $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('moderation_keys', 3, '', 8)");
    790790    }
     791
     792    // Option for plugins
     793    if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'active_plugins'")) {
     794        $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('active_plugins', 3, '', 8)");
     795    }
     796
    791797}
    792798
Note: See TracChangeset for help on using the changeset viewer.