| @@ -78,8 +78,13 @@ | ||
| 78 | 78 | ?> |
| 79 | 79 | </head> |
| 80 | 80 | |
| 81 | 81 | <body> |
| 82 | + <?php | |
| 83 | + // Fallback config for when an optimizer defers or drops the inline script. | |
| 84 | + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- built by buildFormConfigTag(), JSON_HEX_* escaped. | |
| 85 | + echo isset($configTag) ? $configTag : ''; | |
| 86 | + ?> | |
| 82 | 87 | <?php echo wp_kses($formHTML, EscapingHelper::getFormAllowedHtml(isset($formContent) ? $formContent : null)); ?> |
| 83 | 88 | |
| 84 | 89 | <?php wp_print_scripts(); ?> |
| 85 | 90 | </body> |