Updated 1 Dec 2026: RC3 confirms release progression; add specific beta Secrets API residue and upgrade-path cleanup guidance from Hosting Team and Nov 23 independent coverage.

Key details

  1. 17 November 2026: WordPress core r65538 reverted the Secrets API before 7.2 RC1.
  2. Official developer note confirms the API will not ship with 7.2.
  3. Beta-only wp_set_secret()/wp_get_secret(), storage/provider support and setup were removed.
  4. Design objections and missing capability enforcement motivated the revert; no confirmed exploitation.
  5. December 8 remains the planned 7.2 date; no confirmed replacement release.
  6. Hosting Team confirms residual beta data, role capability and configuration key; RC1 core updater and WP-CLI differ in handling removed files.
  7. RC3 shipped November 24; final release remains scheduled December 8.

What builders should take away

  1. Remove or feature-detect beta-only Secrets API calls before upgrading test sites.
  2. Audit custom secrets.php drop-ins and beta-stored credentials; do not assume migration.
  3. Do not rely on outdated beta or promotional announcements as a shipping guarantee.
  4. Keep existing credential storage and rotation safeguards until a revised API ships.
  5. On affected beta sites, back up and recover or rotate credentials before removing obsolete data or key material; compare file checksums after the upgrade.

What changed

NOVEMBER 17 REVERSAL: WordPress core changeset r65538 reverted the Secrets API from WordPress 7.2 before RC1. The official developer note was updated November 17 to explicitly state it will no longer ship with 7.2. The feature appeared in Beta 1 on October 20 and was still promoted in the November 13 developer roundup, so older promotional material is superseded. The revert removes the beta-only wp_set_secret(), wp_get_secret() and related functions, encrypted storage/provider infrastructure and key-related setup. Core discussion identified unresolved questions about host-provided read-only secrets versus write-capable stores and capability checks not enforced on setting secrets. No replacement release is committed. December 8 remains the planned WordPress 7.2 final date. On November 24 WordPress published RC3, retaining the December 8 target. The Hosting Team's updated testing guidance confirms that the revert does not remove all beta data or files; the upgrade method matters.

Why it matters

Plugin and hosting developers must not build production integrations around the 7.2 beta Secrets API: the functions will be absent from the planned stable release. Staging sites that tested it should audit beta-only calls, custom secrets.php drop-ins, stored beta credentials and upgrades rather than assume migration or recovery. Existing production plugins still need carefully managed credential storage, access controls and rotation; the revert does not solve plaintext wp_options exposure.

November 17: core reverts feature before RC1

The official Secrets API developer note now says it will not ship in 7.2 and points to r65538 (WordPress-Develop commit 53ea8006d1). The revert covers API methods, encrypted store, provider drop-in and associated setup. Earlier beta documentation and promotional posts are historical, not shipping contracts.

Why the design was pulled

Core review raised unresolved design questions around writing secrets versus reading host-provided secrets and missing enforcement of manage_secrets capability checks on writes. This is a security/design review outcome, not evidence of an exploited production vulnerability; the API only existed in beta.

What beta testers should do

The Hosting Team confirms that the revert leaves _wp_secret_* option rows, the administrator role's manage_secrets capability and WP_SECRETS_KEY in wp-config.php on installations that tested Beta 5 or earlier. Its RC1 upgrade guidance distinguishes the dashboard/core updater, which leaves obsolete Secrets API files, from WP-CLI, which removes them when it can reach the official API. Back up affected staging sites, inventory credentials and restore or rotate them using the plugin's supported storage before removing residual rows or keys. Compare core files against official checksums and investigate warnings even if the command exits successfully. Check custom secrets.php drop-ins and guard beta-only function calls. Do not apply the older beta setup checklist as current 7.2 instructions.

Secret handling remains an application responsibility

The original feature targeted plaintext option storage, explicit reveal(), provider flexibility and rotation, but none is available as a WordPress 7.2 core contract. Plugin authors should use audited storage, least privilege and credential rotation while watching core ticket #66187 for a redesigned proposal.

What to watch next

  • WordPress core ticket #66187 and revised permission/provider design.
  • WordPress 7.2 final release on December 8 and any updated cleanup guidance.
  • Whether later upgrade paths remove leftover files or data on beta sites.

Still unclear

  • No future WordPress version for a redesigned Secrets API has been formally committed.
  • Recovery of credentials created with beta versions is installation-dependent.
  • Missing capability checks are a design concern, not proof of exploitation.

Sources

Direct reading behind this dossier.

6 sources
WordPress Hosting Team call to test 7.2
Make WordPress Hosting primary hosting discussion

Updated guidance confirms retained data and configuration, and different RC1 upgrade paths.

Discussion

Discussion is reader-contributed. Comments are not part of the BTN dossier or its editorial evidence.

0 visible comments

Join the discussion

Keep comments useful and relevant. Reader contributions may be moderated and are not BTN editorial evidence.

Sign in to comment