Changeset 1379
- Timestamp:
- 06/01/2004 10:01:15 AM (22 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
categories.php (modified) (1 diff)
-
options.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r1355 r1379 184 184 <select name='cat' class='postform'> 185 185 <option value='0'><?php _e('None') ?></option> 186 <?php wp_dropdown_cats( ); ?></p>186 <?php wp_dropdown_cats(0); ?></p> 187 187 </select> 188 188 <p><?php _e('Description: (optional)') ?> <br /> -
trunk/wp-admin/options.php
r1355 r1379 39 39 require_once('./optionhandler.php'); 40 40 $non_was_selected = 0; 41 if ( '' == $_GET['option_group_id']) {41 if (!isset($_GET['option_group_id'])) { 42 42 $option_group_id = 1; 43 43 $non_was_selected = 1; … … 75 75 if ($user_level >= $option->option_admin_level) { 76 76 $old_val = stripslashes($option->option_value); 77 $new_val = $_POST[$option->option_name];77 if(isset($_POST[$option->option_name])) $new_val = $_POST[$option->option_name]; 78 78 if (!$new_val) { 79 79 if (3 == $option->option_type) … … 88 88 //if( in_array($option->option_name, $nonbools)) die('boo'.$query); 89 89 if (!$result) { 90 $d b_errors .= sprintf(__(" SQL error while saving %s. "), $this_name);90 $dB_errors .= sprintf(__(" SQL error while saving %s. "), $this_name); 91 91 } else { 92 92 ++$any_changed; … … 103 103 } 104 104 105 if ( ($dB_errors != '') || ($validation_message != '')) {105 if ( isset($dB_errors) || isset($validation_message) ) { 106 106 if ($message != '') { 107 107 $message .= '<br />';
Note: See TracChangeset
for help on using the changeset viewer.