PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0
4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 4.1.17 All 164 releases
← All changes | Libs/adminify-framework/fields/button_set/button_set.php +4 -4 4.2.264.0 View file →
@@ -23,9 +23,9 @@
23 23 ) );
24 24
25 25 $value = ( is_array( $this->value ) ) ? $this->value : array_filter( (array) $this->value );
26 26
27 - echo wp_kses_post( $this->field_before() );
27 + echo $this->field_before();
28 28
29 29 if ( isset( $this->field['options'] ) ) {
30 30
31 31 $options = $this->field['options'];
@@ -42,10 +42,10 @@
42 42 $active = ( in_array( $key, $value ) || ( empty( $value ) && empty( $key ) ) ) ? ' adminify--active' : '';
43 43 $checked = ( in_array( $key, $value ) || ( empty( $value ) && empty( $key ) ) ) ? ' checked' : '';
44 44
45 45 echo '<div class="adminify--sibling adminify--button'. esc_attr( $active ) .'">';
46 - echo '<input type="'. esc_attr( $type ) .'" name="'. esc_attr( $this->field_name( $extra ) ) .'" value="'. esc_attr( $key ) .'"'. $this->field_attributes() . esc_attr( $checked ) .'/>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- field_attributes() escapes each attribute via esc_attr()
47 - echo wp_kses_post( $option );
46 + echo '<input type="'. esc_attr( $type ) .'" name="'. esc_attr( $this->field_name( $extra ) ) .'" value="'. esc_attr( $key ) .'"'. $this->field_attributes() . esc_attr( $checked ) .'/>';
47 + echo $option;
48 48 echo '</div>';
49 49
50 50 }
51 51
@@ -58,9 +58,9 @@
58 58 }
59 59
60 60 }
61 61
62 - echo wp_kses_post( $this->field_after() );
62 + echo $this->field_after();
63 63
64 64 }
65 65
66 66 }