Repository navigation
v1.68.0
What's Changed
Added
$wpforms_local_captcha_off(defaulttrue, approved exception to the
default-off rule). A CAPTCHA key is bound to the production domain, so on a
local install the WPForms widget cannot pass and its script from the
provider's domain fails a local screenshot run that allows only local
requests. With the flag on,WPFormsConfigBridgereadscaptcha-provider
asnonewhenwp_get_environment_type()islocal. WPForms then prints
no widget, loads no script and skips the server check; the database keeps
its settings. A non-emptyWPFORMS_CAPTCHA_PROVIDERalways wins, and staging
and production are not touched. The WPForms admin notice lists the override
asWP_ENVIRONMENT_TYPE=local. Setfalseto keep the saved provider.
Pull Requests
- #250 — feat(wpforms): read the CAPTCHA provider as none on a local install
Full Changelog: v1.67.0...v1.68.0