PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | views/input/selector.php +3 -3 1.10 → trunk View file →
@@ -23,13 +23,13 @@
23 23
24 24 <div class="imagify-selector">
25 25 <span class="hide-if-js">
26 26 <?php echo esc_html( $data['current_label'] ); ?>
27 - <span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; ?></span>
27 + <span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></span>
28 28 </span>
29 29
30 30 <button aria-controls="<?php echo esc_attr( $list_id ); ?>" type="button" class="button imagify-button-clean hide-if-no-js imagify-selector-button">
31 - <span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; ?></span>
31 + <span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></span>
32 32 </button>
33 33
34 34 <ul id="<?php echo esc_attr( $list_id ); ?>" role="listbox" aria-orientation="vertical" aria-hidden="true" class="imagify-selector-list hide-if-no-js">
35 35 <?php
@@ -37,9 +37,9 @@
37 37 $input_id = $list_id . '-' . sanitize_html_class( $val );
38 38 ?>
39 39 <li class="imagify-selector-choice<?php echo $val === $data['value'] ? ' imagify-selector-current-value" aria-current="true' : ''; ?>" role="option">
40 40 <input type="radio" name="<?php echo esc_attr( $data['name'] ); ?>" value="<?php echo esc_attr( $val ); ?>" id="<?php echo esc_attr( $input_id ); ?>" <?php checked( $val, $data['value'] ); ?> class="screen-reader-text">
41 - <label for="<?php echo esc_attr( $input_id ); ?>"><?php echo $label; ?></label>
41 + <label for="<?php echo esc_attr( $input_id ); ?>"><?php echo $label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></label>
42 42 </li>
43 43 <?php
44 44 }
45 45 ?>