Changeset 700
- Timestamp:
- 01/03/2004 03:19:56 AM (21 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/optionhandler.php
r570 r700 44 44 $ret = <<<SELECT 45 45 <label for="$option_result->option_name">$option_result->option_name</label>$between 46 <select name="$option_result->option_name" $disabled>46 <select name="$option_result->option_name" id="$option_result->option_name" $disabled> 47 47 SELECT; 48 48 … … 73 73 74 74 // now we may need to do table name substitution 75 75 eval("include('../wp-config.php');\$sql = \"$sql\";"); 76 76 77 77 $ret = <<<SELECT … … 79 79 <select name="$option_result->option_name" $disabled> 80 80 SELECT; 81 81 82 82 $select = $wpdb->get_results("$sql"); 83 83 if ($select) { -
trunk/wp-admin/upgrade-functions.php
r672 r700 57 57 58 58 function upgrade_072() { 59 global $wpdb, $tableposts, $tablelinks, $tablelinkcategories, $tableoptions, $tableoptiontypes, $tableoptiongroups, $tableoptiongroup_options, $tableoptionvalues ;59 global $wpdb, $tableposts, $tablelinks, $tablelinkcategories, $tableoptions, $tableoptiontypes, $tableoptiongroups, $tableoptiongroup_options, $tableoptionvalues, $tablecategories; 60 60 maybe_add_column($tablelinks, 'link_notes', "ALTER TABLE $tablelinks ADD COLUMN link_notes MEDIUMTEXT NOT NULL DEFAULT '' "); 61 61 maybe_add_column($tablelinkcategories, 'show_images', "ALTER TABLE $tablelinkcategories ADD COLUMN show_images enum('Y','N') NOT NULL default 'Y'");
Note: See TracChangeset
for help on using the changeset viewer.