Close optgroup :)

This commit is contained in:
Manos Psychogyiopoulos 2018-01-25 16:56:16 +02:00
parent 690c7a9753
commit e5fe92778c
1 changed files with 1 additions and 0 deletions

View File

@ -741,6 +741,7 @@ abstract class WC_Settings_API {
<?php foreach ( $option_value as $option_key_inner => $option_value_inner ) : ?>
<option value="<?php echo esc_attr( $option_key_inner ); ?>" <?php selected( in_array( $option_key_inner, $value ), true ); ?>><?php echo esc_attr( $option_value_inner ); ?></option>
<?php endforeach; ?>
</optgroup>
<?php else : ?>
<option value="<?php echo esc_attr( $option_key ); ?>" <?php selected( in_array( $option_key, $value ), true ); ?>><?php echo esc_attr( $option_value ); ?></option>
<?php endif; ?>