← All changes
|
admin/views/sp-framework/fields/fieldset/fieldset.php
+2
-16
2.4.11
→
2.2.10
View file →
| @@ -9,29 +9,15 @@ | ||
| 9 | 9 | */ |
| 10 | 10 | if ( ! class_exists( 'SP_PC_Field_fieldset' ) ) { |
| 11 | 11 | class SP_PC_Field_fieldset extends SP_PC_Fields { |
| 12 | 12 | |
| 13 | - /** | |
| 14 | - * The Constructor. | |
| 15 | - * | |
| 16 | - * @param [type] $field | |
| 17 | - * @param string $value | |
| 18 | - * @param string $unique | |
| 19 | - * @param string $where | |
| 20 | - * @param string $parent | |
| 21 | - */ | |
| 22 | 13 | public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) { |
| 23 | 14 | parent::__construct( $field, $value, $unique, $where, $parent ); |
| 24 | 15 | } |
| 25 | 16 | |
| 26 | - /** | |
| 27 | - * The render method. | |
| 28 | - * | |
| 29 | - * @return void | |
| 30 | - */ | |
| 31 | 17 | public function render() { |
| 32 | 18 | |
| 33 | - echo wp_kses_post( $this->field_before() ); | |
| 19 | + echo $this->field_before(); | |
| 34 | 20 | |
| 35 | 21 | echo '<div class="spf-fieldset-content">'; |
| 36 | 22 | |
| 37 | 23 | foreach ( $this->field['fields'] as $field ) { |
| @@ -46,9 +32,9 @@ | ||
| 46 | 32 | } |
| 47 | 33 | |
| 48 | 34 | echo '</div>'; |
| 49 | 35 | |
| 50 | - echo wp_kses_post( $this->field_after() ); | |
| 36 | + echo $this->field_after(); | |
| 51 | 37 | |
| 52 | 38 | } |
| 53 | 39 | |
| 54 | 40 | } |