← All changes
|
Libs/adminify-framework/fields/palette/palette.php
+3
-3
4.3.2
→
4.0.5.4
View file →
| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | public function render() { |
| 18 | 18 | |
| 19 | 19 | $palette = ( ! empty( $this->field['options'] ) ) ? $this->field['options'] : array(); |
| 20 | 20 | |
| 21 | - echo wp_kses_post( $this->field_before() ); | |
| 21 | + echo $this->field_before(); | |
| 22 | 22 | |
| 23 | 23 | if ( ! empty( $palette ) ) { |
| 24 | 24 | |
| 25 | 25 | echo '<div class="adminify-siblings adminify--palettes">'; |
| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - echo '<input type="radio" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $key ) .'"'. $this->field_attributes() . esc_attr( $checked ) .'/>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- field_attributes() escapes each attribute via esc_attr() | |
| 44 | + echo '<input type="radio" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $key ) .'"'. $this->field_attributes() . esc_attr( $checked ) .'/>'; | |
| 45 | 45 | echo '</div>'; |
| 46 | 46 | |
| 47 | 47 | } |
| 48 | 48 | |
| @@ -49,9 +49,9 @@ | ||
| 49 | 49 | echo '</div>'; |
| 50 | 50 | |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - echo wp_kses_post( $this->field_after() ); | |
| 53 | + echo $this->field_after(); | |
| 54 | 54 | |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | } |