PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 2.2.10
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v2.2.10
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
← 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 }