| @@ -533,8 +533,13 @@ | ||
| 533 | 533 | |
| 534 | 534 | <!-- Preview Container --> |
| 535 | 535 | <main class="bf-preview-container"> |
| 536 | 536 | <div class="bf-preview-frame" id="bf-preview-frame"> |
| 537 | + <?php | |
| 538 | + // Fallback config for when an optimizer defers or drops the inline script. | |
| 539 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- built by buildFormConfigTag(), JSON_HEX_* escaped. | |
| 540 | + echo isset($configTag) ? $configTag : ''; | |
| 541 | + ?> | |
| 537 | 542 | <?php echo wp_kses($formHTML, EscapingHelper::getFormAllowedHtml(isset($formContent) ? $formContent : null)); ?> |
| 538 | 543 | </div> |
| 539 | 544 | </main> |
| 540 | 545 | |