Skip to content

v1.5.46 — Fix API key validation for constant-defined keys

Choose a tag to compare

@dompl dompl released this 09 Mar 16:50
· 1 commit to master since this release

What's Fixed

  • API key validation: All 'Test Connection' buttons now use bcg_get_api_key() instead of get_option(), so keys defined as PHP constants (BCG_BREVO_API_KEY, BCG_OPENAI_API_KEY, etc. in wp-config.php) are correctly resolved during validation
  • Brevo list fetch: Same constant-aware lookup applied to mailing list refresh
  • Stripe key lookups: Publishable and secret key references in JS localisation and the Stripe integration class now also use bcg_get_api_key()