mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix select fields accented values
This commit is contained in:
+3
-1
@@ -1595,9 +1595,11 @@ class UM_Fields {
|
||||
|
||||
$output .= '<option value="' . $option_value . '" ';
|
||||
|
||||
if ( $this->is_selected( $form_key, $option_value, $data ) ) {
|
||||
if ( $this->is_selected( $form_key, $option_value, $data ) || $this->is_selected( $form_key, $v, $data ) ) {
|
||||
$output.= 'selected';
|
||||
}
|
||||
|
||||
|
||||
$output .= '>'.__($v, UM_TEXTDOMAIN).'</option>';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user