PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0.5.4
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0.5.4
4.3.2 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 All 165 releases
← All changes | Libs/adminify-framework/fields/dimensions/dimensions.php +6 -6 4.2.244.0.5.4 View file →
@@ -37,9 +37,9 @@
37 37 $value = wp_parse_args( $this->value, $default_values );
38 38 $unit = ( count( $args['units'] ) === 1 && ! empty( $args['unit'] ) ) ? $args['units'][0] : '';
39 39 $is_unit = ( ! empty( $unit ) ) ? ' adminify--is-unit' : '';
40 40
41 - echo wp_kses_post( $this->field_before() );
41 + echo $this->field_before();
42 42
43 43 echo '<div class="adminify--inputs" data-depend-id="'. esc_attr( $this->field['id'] ) .'">';
44 44
45 45 if ( ! empty( $args['width'] ) ) {
@@ -44,10 +44,10 @@
44 44
45 45 if ( ! empty( $args['width'] ) ) {
46 46 $placeholder = ( ! empty( $args['width_placeholder'] ) ) ? ' placeholder="'. esc_attr( $args['width_placeholder'] ) .'"' : '';
47 47 echo '<div class="adminify--input">';
48 - echo ( ! empty( $args['width_icon'] ) ) ? '<span class="adminify--label adminify--icon">'. wp_kses_post( $args['width_icon'] ) .'</span>' : '';
49 - echo '<input type="number" name="'. esc_attr( $this->field_name( '[width]' ) ) .'" value="'. esc_attr( $value['width'] ) .'"'. $placeholder .' class="adminify-input-number'. esc_attr( $is_unit ) .'" step="any" />'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- attribute value pre-escaped with esc_attr() where built.
48 + echo ( ! empty( $args['width_icon'] ) ) ? '<span class="adminify--label adminify--icon">'. $args['width_icon'] .'</span>' : '';
49 + echo '<input type="number" name="'. esc_attr( $this->field_name( '[width]' ) ) .'" value="'. esc_attr( $value['width'] ) .'"'. $placeholder .' class="adminify-input-number'. esc_attr( $is_unit ) .'" step="any" />';
50 50 echo ( ! empty( $unit ) ) ? '<span class="adminify--label adminify--unit">'. esc_attr( $args['units'][0] ) .'</span>' : '';
51 51 echo '</div>';
52 52 }
53 53
@@ -53,10 +53,10 @@
53 53
54 54 if ( ! empty( $args['height'] ) ) {
55 55 $placeholder = ( ! empty( $args['height_placeholder'] ) ) ? ' placeholder="'. esc_attr( $args['height_placeholder'] ) .'"' : '';
56 56 echo '<div class="adminify--input">';
57 - echo ( ! empty( $args['height_icon'] ) ) ? '<span class="adminify--label adminify--icon">'. wp_kses_post( $args['height_icon'] ) .'</span>' : '';
58 - echo '<input type="number" name="'. esc_attr( $this->field_name( '[height]' ) ) .'" value="'. esc_attr( $value['height'] ) .'"'. $placeholder .' class="adminify-input-number'. esc_attr( $is_unit ) .'" step="any" />'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- attribute value pre-escaped with esc_attr() where built.
57 + echo ( ! empty( $args['height_icon'] ) ) ? '<span class="adminify--label adminify--icon">'. $args['height_icon'] .'</span>' : '';
58 + echo '<input type="number" name="'. esc_attr( $this->field_name( '[height]' ) ) .'" value="'. esc_attr( $value['height'] ) .'"'. $placeholder .' class="adminify-input-number'. esc_attr( $is_unit ) .'" step="any" />';
59 59 echo ( ! empty( $unit ) ) ? '<span class="adminify--label adminify--unit">'. esc_attr( $args['units'][0] ) .'</span>' : '';
60 60 echo '</div>';
61 61 }
62 62
@@ -72,9 +72,9 @@
72 72 }
73 73
74 74 echo '</div>';
75 75
76 - echo wp_kses_post( $this->field_after() );
76 + echo $this->field_after();
77 77
78 78 }
79 79
80 80 public function output() {