Merge pull request #593 from GeertDD/no_ucfirst_for_select

Elements in select lists should not have ucfirst applied
This commit is contained in:
Mike Jolley 2012-02-07 08:27:38 -08:00
commit 55609f02d5
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ function woocommerce_admin_fields($options) {
<?php
foreach ($value['options'] as $key => $val) {
?>
<option value="<?php echo esc_attr( $key ); ?>" <?php if (get_option($value['id']) == $key) { ?> selected="selected" <?php } ?>><?php echo ucfirst($val) ?></option>
<option value="<?php echo esc_attr( $key ); ?>" <?php if (get_option($value['id']) == $key) { ?> selected="selected" <?php } ?>><?php echo $val ?></option>
<?php
}
?>