edit profile rendering (missing segments list) + fallback for Url::redirectBack()

This commit is contained in:
Jonathan Labreuille
2016-03-04 11:20:17 +01:00
parent 4b528549f5
commit 4a96e483a6
6 changed files with 34 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ class Checkbox extends Base {
$html .= $field_validation;
$html .= ' /> '.$option['value'];
$html .= ' /> '.esc_attr($option['value']);
$html .= '</label>';
}

View File

@@ -35,7 +35,7 @@ class Radio extends Base {
$html .= $field_validation;
$html .= ' />&nbsp;'.esc_attr($option['value']);
$html .= ' /> '.esc_attr($option['value']);
$html .= '</label>';
}

View File

@@ -28,7 +28,7 @@ class Segment extends Base {
$html .= 'name="'.$field_name.'[]" ';
$html .= 'value="'.$option['id'].'" '.$is_checked.' ';
$html .= $field_validation;
$html .= ' /> '.$option['name'];
$html .= ' /> '.esc_attr($option['name']);
$html .= '</label>';
}

View File

@@ -34,7 +34,7 @@ class Select extends Base {
}
$html .= '<option value="'.$value.'" '.$is_selected.'>';
$html .= $label;
$html .= esc_attr($label);
$html .= '</option>';
}
$html .= '</select>';