PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 2.12.8
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v2.12.8
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
← All changes | inc/page-builders/elementor/form-widget.php +3 -10 2.7.0 → 2.12.8 View file →
@@ -476,9 +476,9 @@
476 476 \Elementor\Group_Control_Background::get_type(),
477 477 [
478 478 'name' => 'bgGradient',
479 479 'types' => [ 'gradient' ],
480 - 'exclude' => [ 'image' ],
480 + 'exclude' => [ 'image' ], // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_exclude -- Elementor Group_Control_Background option, not a query argument.
481 481 'fields_options' => [
482 482 'background' => [
483 483 'label' => __( 'Gradient', 'sureforms' ),
484 484 'default' => 'gradient',
@@ -834,17 +834,10 @@
834 834 $block_attrs = $this->get_block_attrs( $settings );
835 835
836 836 // Bypass shortcode - call get_form_markup() directly.
837 837 // $do_blocks = true to match current shortcode behavior.
838 - // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in Generate_Form_Markup.
839 - echo Generate_Form_Markup::get_form_markup(
840 - $form_id,
841 - ! $show_title,
842 - '',
843 - 'post',
844 - true,
845 - $block_attrs
846 - );
838 + $form_markup = Generate_Form_Markup::get_form_markup( $form_id, $show_title, '', 'post', true, $block_attrs );
839 + echo $form_markup; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in Generate_Form_Markup.
847 840
848 841 // Get spectra blocks and add css and js.
849 842 $blocks = parse_blocks( get_post_field( 'post_content', $form_id ) );
850 843 $styles = Spec_Gb_Helper::get_instance()->get_assets( $blocks );