Home » WordPress » WordPress 7.2 Secrets API Removed: What to Check

WordPress 7.2 Secrets API Removed: What to Check

Published 2026-11-18 | WordPress

WordPress 7.2 Secrets API plan marked as removed before release

Short answer: WordPress Core says the planned Secrets API will not ship with WordPress 7.2. If your production site never ran a 7.2 beta with that feature, there is no Secrets API migration to perform. If you experimented with it on a test copy, preserve that copy and its configuration before changing or deleting anything.

The change appeared in an update to the WordPress Core Secrets API dev note on November 17, the same day WordPress 7.2 Release Candidate 1 was announced. The earlier note described an API for encrypted plugin credentials, but its update says the feature is no longer part of 7.2. That earlier implementation guide is historical for this release, so do not follow its beta migration commands on a live site without current advice.

Step 1: Check whether you ever ran a 7.2 beta

Start with the site where you installed the pre-release version. A beta on a private staging site is a different situation from a production site that stayed on a stable WordPress version. The RC1 announcement explicitly says release candidates are still in development and should be evaluated on a test server, not on production or a mission-critical site.

If your live site did not run a 7.2 beta, this specific API change does not give you a reason to rotate credentials, edit wp-config.php, or change plugin settings. Continue normal WordPress and plugin maintenance. For general precautions when evaluating a pre-release, see the WordPress 7.2 beta testing guide.

Step 2: Preserve any beta test data

If you tried the Secrets API in a beta, keep the test environment intact until you know what wrote data there. Make a private copy of the database and files, and preserve the matching wp-config.php. That file may contain a WP_SECRETS_KEY added for the test. Store these copies securely because a database dump can contain site data and configuration can contain keys.

Do not remove the key, rotate the WordPress salts, delete option rows, or run the old migration snippets just to clean up. The earlier dev note described encrypted values and key migration for the beta implementation, but the release decision changed afterward. A beta database is useful for investigation, but it is not a reason to make speculative edits to a live site's configuration.

If the test copy contains credentials entered through a plugin, identify the plugin and ask its maintainer how that beta stored and retrieves the value. If the site used a host-provided secrets.php drop-in, contact the host before removing it. Keep the snapshot until you have verified the replacement or recovery path.

Step 3: Keep existing plugin credentials on their supported path

The announcement concerns a planned WordPress Core API. It does not instruct site owners to change every API key stored by existing plugins, nor does it say plugin credentials should be deleted. Check the plugin's own documentation and update notes before changing a payment, email, analytics, or other integration.

Use a staging site to confirm a plugin update still connects to its service. If a vendor gives you a migration procedure, make a restorable website backup first, follow the vendor's steps, and verify the integration before applying the same change to production. If there is no vendor instruction, leave the working credential configuration in place and ask support rather than guessing at database changes.

Step 4: Track the release instead of relying on beta instructions

WordPress 7.2 RC1 is available for testing, but it is not the final release. Follow the current WordPress 7.2 release information and Core notes for changes before upgrading. Beta feature guides can become outdated as a release changes, so confirm that a feature is still present in current release documentation before building a workflow around it.

For site owners, the practical action is simple: keep production stable, preserve a beta environment if you used the API, and wait for direct instructions from WordPress Core, your host, or the affected plugin maintainer before migrating beta data. Continue applying supported security updates and keep outdated plugins under review.

Common mistakes

  • Treating an earlier beta dev note as confirmation that the feature is still in WordPress 7.2.
  • Installing an RC on a live site to see whether the API is present.
  • Removing WP_SECRETS_KEY or changing salts before preserving a beta database and configuration.
  • Rotating or deleting production plugin credentials even though the production site never used the beta API.
  • Copying a beta database into production without checking how the plugin and host handle its credential data.
  • Assuming a backup is usable without confirming that the site can be restored.

Sources

Frequently Asked Questions

Is the WordPress 7.2 Secrets API still shipping?

No. The WordPress Core dev note was updated on November 17, 2026 to say the Secrets API will not ship with WordPress 7.2. Check the current release notes before planning around a later release.

Do I need to change API keys on my live WordPress site?

Usually not because of this announcement alone. The API was a planned WordPress 7.2 feature, so sites that did not run a beta using it have no Secrets API data to migrate. Follow your plugin vendor's instructions for credentials the plugin already stores.

What if I saved secrets on a WordPress 7.2 beta site?

Keep a private copy of that test site's database and wp-config.php, including any beta-only key settings, before changing the install. The removed API's data may need feature-specific handling, so consult the current WordPress guidance and the plugin or host that wrote it.

Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.

More in WordPress