← All changes
|
Libs/adminify-framework/fields/repeater/repeater.php
+1
-1
4.2.12
→
4.3.2
View file →
| @@ -87,9 +87,9 @@ | ||
| 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">'. esc_html( $args['button_title'] ) .'</a>'; | |
| 91 | + echo '<a href="#" class="button button-primary adminify-repeater-add">'. wp_kses( $args['button_title'], [ 'i' => [ 'class' => [] ] ] ) .'</a>'; | |
| 92 | 92 | |
| 93 | 93 | echo wp_kses_post( $this->field_after() ); |
| 94 | 94 | |
| 95 | 95 | } |