| @@ -94,8 +94,13 @@ | ||
| 94 | 94 | |
| 95 | 95 | <body> |
| 96 | 96 | <div class="standalone-form-container"> |
| 97 | 97 | <div class="standalone-form-wrapper"> |
| 98 | + <?php | |
| 99 | + // Fallback config for when an optimizer defers or drops the inline script. | |
| 100 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- built by buildFormConfigTag(), JSON_HEX_* escaped. | |
| 101 | + echo isset($configTag) ? $configTag : ''; | |
| 102 | + ?> | |
| 98 | 103 | <?php echo wp_kses($formHTML, EscapingHelper::getFormAllowedHtml(isset($formContent) ? $formContent : null)); ?> |
| 99 | 104 | </div> |
| 100 | 105 | </div> |
| 101 | 106 | |