10 ? '10' : $_size); unset($_size); // reset height, which is set to 2em on wordpress 2.6 default admin theme. if (empty($wrapper_attributes['style'])) $wrapper_attributes['style'] = ''; $wrapper_attributes['style'] .= 'height: auto;'; } } // filter out values which we set ourselves unset($attributes['name'], $attributes['id'], $attributes['multiple'], $attributes['expanded'], $attributes['label'], $attributes['help'], $attributes['wrapper_tag'], $attributes['inline']); // add remaining $attributes values onto $wrapper_attributes $wrapper_attributes = array_merge($attributes, $wrapper_attributes); // return value $html = ''; if (!$expanded && $field_label) $html .= '