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/number/number.php +3 -3 4.3.24.0.5.4 View file →
@@ -22,14 +22,14 @@
22 22 'step' => 'any',
23 23 'unit' => '',
24 24 ) );
25 25
26 - echo wp_kses_post( $this->field_before() );
26 + echo $this->field_before();
27 27 echo '<div class="adminify--wrap">';
28 - echo '<input type="number" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $this->value ) .'"'. $this->field_attributes() .' min="'. esc_attr( $args['min'] ) .'" max="'. esc_attr( $args['max'] ) .'" step="'. esc_attr( $args['step'] ) .'"/>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- field_attributes() escapes each attribute via esc_attr()
28 + echo '<input type="number" name="'. esc_attr( $this->field_name() ) .'" value="'. esc_attr( $this->value ) .'"'. $this->field_attributes() .' min="'. esc_attr( $args['min'] ) .'" max="'. esc_attr( $args['max'] ) .'" step="'. esc_attr( $args['step'] ) .'"/>';
29 29 echo ( ! empty( $args['unit'] ) ) ? '<span class="adminify--unit">'. esc_attr( $args['unit'] ) .'</span>' : '';
30 30 echo '</div>';
31 - echo wp_kses_post( $this->field_after() );
31 + echo $this->field_after();
32 32
33 33 }
34 34
35 35 public function output() {