Skip to content

Insights

WordPress 7.2 Puts Stored Credentials Under Lock for the First Time

RC1 lands November 17 with a Secrets API that encrypts plugin credentials at rest — which means the audit window is now, not after final release.

When a client asks whether they need to do anything about the WordPress 7.2 update, the two wrong answers are roughly equal. Panic — ripping API keys out of configs, stalling upgrades, calling the developer at 11 p.m. — is wasteful. Shrug — it’s a point release, auto-update will handle it, nothing to see here — is how upgrades become incidents. The right answer this time requires a bit more than either.

Release Candidate 1 is scheduled for November 17, 2026. Beta 3 shipped October 28, and RC1 opens the hard string freeze and field guide phase. Final release is targeting December 8 to 9. This is not a speculative roadmap item; the work is in review.

The headline addition is a Secrets API — a mechanism built into core that stores plugin and site credentials encrypted at rest, rather than as plaintext in the options table. When storage is compromised, the API returns errors instead of silently serving exposed values. A new manage_secrets admin capability gates who can read and write to it. A companion sudo mode re-authentication layer is also planned, though that piece is not confirmed as shipping with 7.2.

This matters because the options table has always been a soft target. Any database dump, any successful SQL-injection read, any misconfigured backup copy has historically handed an attacker every stored credential on the site — API keys, OAuth tokens, CRM hooks, CDN credentials — in plain text. That is the default the Secrets API changes, and it changes it from core outward, not through a plugin layer that only some sites install.

RC1 isn’t final release, so nothing on a live site changes November 17. But using the new API means the site’s own code has to call it — which is precisely why the audit belongs before the release, not after.

For builds we manage that use stored credentials — map API keys, CRM tokens, media CDN credentials surfaced through ACF or custom options — we’re running an audit against the wp_set_secret() and wp_get_secret() surface now. The goal is a planned migration path rather than a reactive one when 7.2 final lands. If your site stores third-party credentials in WordPress and you’re not sure what that means for your December upgrade, we’re the right call to make before RC1 drops.

December is a reasonable deadline. The groundwork just needs to start in November.

More dispatches