Skip to content

v1.68.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 14:17
· 3 commits to main since this release

What's Changed

Added

  • $wpforms_local_captcha_off (default true, 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, WPFormsConfigBridge reads captcha-provider
    as none when wp_get_environment_type() is local. WPForms then prints
    no widget, loads no script and skips the server check; the database keeps
    its settings. A non-empty WPFORMS_CAPTCHA_PROVIDER always wins, and staging
    and production are not touched. The WPForms admin notice lists the override
    as WP_ENVIRONMENT_TYPE=local. Set false to 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