PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/fields/FrmFieldCreditCard.php +2 -3 6.28 → trunk View file →
@@ -53,11 +53,10 @@
53 53 );
54 54
55 55 ob_start();
56 56
57 - if ( FrmAppHelper::is_style_editor_page() ) {
58 - // The styler preview doesn't load the Stripe scripts.
59 - // We need to use the form builder view instead.
57 + if ( FrmAppHelper::is_style_editor_page() || FrmFormsHelper::is_block_or_page_builder_preview() ) {
58 + // Payment gateway scripts are unavailable in preview contexts, use the builder placeholder.
60 59 $field = $this->field;
61 60 include $this->include_form_builder_file();
62 61 } else {
63 62 FrmStrpLiteActionsController::show_card( $this->field, $args['field_name'], $pass_args );