Menu
LanguageEspañol

← HomeMake WordPress Core

WordPress 7.2 adds an API for storing encrypted keys and secrets

The new Secrets API stores credentials such as API keys or OAuth secrets encrypted, keeps the previous version for rotation and adds functions like wp_set_secret() and wp_get_secret(). It needs WP_SECRETS_KEY defined in wp-config.php and supports host-managed providers. It matters for any plugin that talks to external services, AI ones included, which until now kept keys in plain options.

Original summary by bokstudio. The full content and its rights belong to the original source.

Cookie settings

Cookie policy ·Privacy policy