PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | src/Helpers/IntlTelInput.php +2 -1 4.15.14.16.9 View file →
@@ -125,8 +125,9 @@
125 125 ];
126 126 }
127 127
128 128 /**
129 + * @since 4.16.4 Escaped the value attribute output.
129 130 * @since 3.9.0
130 131 */
131 132 public static function getHtmlInput(string $value, string $id, string $class = '', string $name = ''): string
132 133 {
@@ -147,9 +148,9 @@
147 148 <input id="<?php
148 149 echo $id . '--intl_tel_input'; ?>" class="<?php
149 150 echo $class; ?>" name="<?php
150 151 echo $name; ?>" value="<?php
151 - echo $value; ?>" type='text'>
152 + echo esc_attr($value); ?>" type='text'>
152 153
153 154 <span id="<?php
154 155 echo $id . '--error-msg'; ?>" class="give-intl-tel-input-hide" style="color:red;"></span>
155 156