| @@ -17,8 +17,10 @@ | ||
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | 19 | defined('ABSPATH') || exit; |
| 20 | 20 | |
| 21 | +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals -- usk_ / BDTUSK_ / ultimate-store-kit- are this plugin's established public prefixes. Ultimate Store Kit Pro calls into these names, as does third-party integration code, so renaming them is a breaking change. Plugin Check only recognises prefixes derived verbatim from the slug and so reports them as unprefixed. | |
| 22 | + | |
| 21 | 23 | use UltimateStoreKit\Builder\Builder_Integration; |
| 22 | 24 | |
| 23 | 25 | get_header(); |
| 24 | 26 | |
| @@ -24,9 +26,9 @@ | ||
| 24 | 26 | |
| 25 | 27 | do_action('ultimate-store-kit-builder/woocommerce/before-main-content'); |
| 26 | 28 | |
| 27 | 29 | if (class_exists('Elementor\Plugin')) { |
| 28 | - echo Elementor\Plugin::instance()->frontend->get_builder_content(Builder_Integration::instance()->current_template_id, false); | |
| 30 | + echo Elementor\Plugin::instance()->frontend->get_builder_content(Builder_Integration::instance()->current_template_id, false); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor renders and escapes the builder content itself. | |
| 29 | 31 | } |
| 30 | 32 | |
| 31 | 33 | do_action('ultimate-store-kit-builder/woocommerce/after-main-content'); |
| 32 | 34 | |