Make WordPress Core


Ignore:
Timestamp:
09/04/2004 10:09:21 PM (21 years ago)
Author:
saxmatt
Message:

Remove optiongroups table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-head.php

    r1551 r1596  
    33if ($user_level <= 6) {
    44    die( __('You have do not have sufficient permissions to edit the options for this blog.') );
    5 }
    6 
    7 //we need to iterate through the available option groups.
    8 $groups = '';
    9 $option_groups = $wpdb->get_results("SELECT group_id, group_name, group_desc, group_longdesc FROM $wpdb->optiongroups ORDER BY group_id");
    10 foreach ($option_groups as $option_group) {
    11     if ($option_group->group_id == $option_group_id) {
    12         $current_desc = $option_group->group_desc;
    13         $current_long_desc = $option_group->group_longdesc;
    14         $groups .= "<li><a class='current' title='{$option_group->group_desc}'>{$option_group->group_name}</a></li>\n";
    15     } else {
    16         $groups .= "<li><a href='options.php?option_group_id={$option_group->group_id}' title='{$option_group->group_desc}'>{$option_group->group_name}</a></li>\n";
    17     }
    185}
    196?>
Note: See TracChangeset for help on using the changeset viewer.