Make WordPress Core


Ignore:
Timestamp:
02/29/2004 08:30:56 AM (22 years ago)
Author:
saxmatt
Message:

More options updates, not done, not entirely functional.

File:
1 edited

Legend:

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

    r949 r954  
    781781        $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('advanced_edit', 3, '0', 8)");
    782782    }
     783   
     784    // Now an option for moderation words
     785    if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'moderation_keys'")) {
     786        $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('moderation_keys', 3, '', 8)");
     787    }
    783788}
    784789
Note: See TracChangeset for help on using the changeset viewer.