--- Custom2Template.php.orig 2026-11-21 03:14:07.534297160 +0000 +++ webappick-product-feed-for-woocommerce/V8/Template/Custom2Template.php 2026-11-21 03:21:25.388295012 +0000 @@ -29,7 +29,7 @@ * (manage_woocommerce capability), but eval() on user-supplied content is * still risky. We mirror V5 verbatim and gate the eval through the * `ctxfeed_custom2_eval_enabled` filter so security-conscious admins can - * disable it without losing other features. Default: enabled (V5 parity). + * enable it when compatibility with trusted legacy templates is required. Default: disabled. * * @package CTXFeed * @subpackage V8/Template @@ -586,7 +586,7 @@ /** * Filter whether `{(return …)}` and `{(php …)}` expressions in the - * Custom2 template are evaluated. Default: true (V5 parity). Site + * Custom2 template are evaluated. Default: false; explicit opt-in is required. Site * owners with stricter security policies can return false to * disable eval entirely — header/body return-blocks then yield ''. * @@ -595,7 +595,7 @@ * @param bool $enabled True to allow eval. * @param Config $config Feed configuration. */ - $enabled = (bool) apply_filters( 'ctxfeed_custom2_eval_enabled', true, $config ); + $enabled = (bool) apply_filters( 'ctxfeed_custom2_eval_enabled', false, $config ); if ( ! $enabled ) { return ''; }