Make WordPress Core


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

Remove optiongroup_options table.

File:
1 edited

Legend:

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

    r1596 r1597  
    137137//Now display all the options for the selected group.
    138138if ('all' == $_GET['option_group_id']) :
    139 $options = $wpdb->get_results("SELECT * FROM $wpdb->options LEFT JOIN $wpdb->optiongroup_options ON $wpdb->options.option_id = $wpdb->optiongroup_options.option_id ORDER BY option_name");
    140 else :
    141 $options = $wpdb->get_results("
    142 SELECT
    143 $wpdb->options.option_id, option_name, option_type, option_value, option_width, option_height, option_description, option_admin_level
    144 FROM $wpdb->options  LEFT JOIN $wpdb->optiongroup_options ON $wpdb->options.option_id = $wpdb->optiongroup_options.option_id
    145 WHERE group_id = $option_group_id
    146 ORDER BY seq
    147 ");
     139$options = $wpdb->get_results("SELECT * FROM $wpdb->options ORDER BY option_name");
    148140endif;
    149141
Note: See TracChangeset for help on using the changeset viewer.