hai besties, i used the new wireframe for woo commerce product page,
does this insert hcaptcha.com? is it a new update?
i’m tryna figure out where it came from ![]()
I found that Bricks is enqueueing https://hcaptcha.com/1/api.js globally, even on pages that don’t contain any Bricks forms.
You can see it here on a WooCommerce product page built with the new Wireframe layout:
CREAMPOP Conditioning Cleanser for Hair | Erin Reye Hair
No Bricks form exists on this page, but DevTools shows hcaptcha.com/1/api.js loading from wp-content/themes/bricks/includes/integrations/form/init.php.
Could this integration be wrapped in a conditional check (e.g. only load if a form includes an hCaptcha field)?
It’s adding ~300 KB of JS to every page, which feels unnecessary if we’re not using that feature.
jus checking if i’m even in the right spot,
idk $#!+ about $#!+ lol
sorry!
Thanks!