Make WordPress Core

Changeset 1008


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

Initial plugin funcitonality checkin. Not done yet.

Location:
trunk
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.txt

    r869 r1008  
    553   users.php   Users
    664   options-general.php Options
     78   plugins.php Plugins
    784   templates.php   Templates
    895   upload.php  Upload
  • 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.