| @@ -82,8 +82,13 @@ | ||
| 82 | 82 | ?> |
| 83 | 83 | </head> |
| 84 | 84 | |
| 85 | 85 | <body class="bit-conversational-form"> |
| 86 | + <?php | |
| 87 | + // Fallback config for when an optimizer defers or drops the inline script. | |
| 88 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- built by buildFormConfigTag(), JSON_HEX_* escaped. | |
| 89 | + echo isset($configTag) ? $configTag : ''; | |
| 90 | + ?> | |
| 86 | 91 | <?php echo wp_kses($formHTML, EscapingHelper::getFormAllowedHtml(isset($formContent) ? $formContent : null)); ?> |
| 87 | 92 | <?php if (!empty($isPreview)) : ?> |
| 88 | 93 | <style>.bc-live-hidden { display: none !important; }</style> |
| 89 | 94 | <script>window.bf_preview_mode = true;</script> |