← All changes
|
Libs/adminify-framework/fields/repeater/repeater.php
+3
-3
4.3.2
→
4.0.5.4
View file →
| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | echo '<div class="adminify-notice adminify-notice-danger">'. esc_html__( 'Error: Field ID conflict.', 'adminify' ) .'</div>'; |
| 28 | 28 | |
| 29 | 29 | } else { |
| 30 | 30 | |
| 31 | - echo wp_kses_post( $this->field_before() ); | |
| 31 | + echo $this->field_before(); | |
| 32 | 32 | |
| 33 | 33 | echo '<div class="adminify-repeater-item adminify-repeater-hidden" data-depend-id="'. esc_attr( $this->field['id'] ) .'">'; |
| 34 | 34 | echo '<div class="adminify-repeater-content">'; |
| 35 | 35 | foreach ( $this->field['fields'] as $field ) { |
| @@ -87,11 +87,11 @@ | ||
| 87 | 87 | echo '</div>'; |
| 88 | 88 | |
| 89 | 89 | echo '<div class="adminify-repeater-alert adminify-repeater-max">'. esc_html__( 'You cannot add more.', 'adminify' ) .'</div>'; |
| 90 | 90 | echo '<div class="adminify-repeater-alert adminify-repeater-min">'. esc_html__( 'You cannot remove more.', 'adminify' ) .'</div>'; |
| 91 | - echo '<a href="#" class="button button-primary adminify-repeater-add">'. wp_kses( $args['button_title'], [ 'i' => [ 'class' => [] ] ] ) .'</a>'; | |
| 91 | + echo '<a href="#" class="button button-primary adminify-repeater-add">'. $args['button_title'] .'</a>'; | |
| 92 | 92 | |
| 93 | - echo wp_kses_post( $this->field_after() ); | |
| 93 | + echo $this->field_after(); | |
| 94 | 94 | |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | } |