PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / trunk
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder vtrunk
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Services/FormBuilder/Components/Select.php +1 -1 6.2.13 → trunk View file →
@@ -90,9 +90,9 @@
90 90 if (ArrayHelper::get($data, 'settings.validation_rules.required.value')) {
91 91 $ariaRequired = 'true';
92 92 }
93 93
94 - $ariaLabelledBy = 'label_' . ArrayHelper::get($data, 'attributes.id');
94 + $ariaLabelledBy = esc_attr('label_' . ArrayHelper::get($data, 'attributes.id'));
95 95
96 96 $elMarkup = '<select ' . $atts . ' aria-invalid="false" aria-required="' . $ariaRequired . '" aria-labelledby="' . $ariaLabelledBy .'"'.'>' . $options . '</select>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- $atts, $options are escaped before being passed in.
97 97
98 98 $html = $this->buildElementMarkup($elMarkup, $data, $form);