WordPress 7.2 Beta 5 is now available for testing. For agencies and freelancers, the beta period is the time to find out whether anything in the next major release will affect client sites. This post covers the 7.2 changes most likely to matter to you and the recent 7.1.4 security release, which should already be on your production sites.
First, make sure production is on 7.1.4
Before looking ahead, check where your live sites are now. WordPress 7.1.4 was released on 28 October as a security release with fixes for multiple issues. The announcement recommends updating sites immediately.
Sites with automatic background updates should handle this themselves. Still, confirm the version across your portfolio rather than assume it. Sites with automatic updates switched off, or with a host that manages core updates differently, are the ones most likely to have been missed.
WordPress 7.2 Beta 5 is for testing only
The Beta 5 announcement repeats the usual warning: do not install, run or test the beta on production or mission-critical websites. Use a local site or a test environment.
For agencies, that means a staging copy of each client site that has a meaningful amount of custom code, a page builder or an unusual plugin stack. You don't need to test every brochure site in depth. Focus on the sites where a surprise after release would be most costly.
The Make WordPress Core blog has published several developer notes for 7.2. Three are worth reading closely.
The new /random/ endpoint is on by default
According to the developer note on the /random/ endpoint, WordPress 7.2 introduces a URL that sends visitors to a randomly selected published post. A request to example.com/random/ leads to a random post. The feature is on by default and is built on the existing rewrite, WP and WP_Query APIs.
This is a small feature, but it is on by default, so it is worth thinking about for client sites. Points to check on staging:
- Existing URLs. Does any client site already use
/random/as a page slug or custom route? If so, see how it behaves after the update. - What counts as published. If a client has published posts they would rather not surface prominently, such as old announcements, check whether that matters to them.
- Caching and redirects. Test how the endpoint behaves with the site's caching and any redirect plugins.
If you decide a site should not expose the endpoint, read the full developer note for the supported way to handle it rather than relying on a workaround.
Admin bar and menu icons are now SVGs
The developer note on SVG icons explains that the icons in the admin bar and admin menu are now inline SVGs from @wordpress/icons. Before, they were Dashicons font glyphs drawn with CSS ::before.
The note says most plugins will not be affected. It is still worth a look if you maintain sites with:
- Custom admin CSS that targets the old icon glyphs or
::beforepseudo-elements in the admin bar or menu. - White-label or client-branding plugins that restyle the dashboard.
- Bespoke plugins you have written that add menu items with custom icon styling.
The check is quick. Log in to the staging site, look at the admin bar and menu, and see whether anything looks out of place.
Editor components move from Emotion to SCSS Modules
This one is mainly for developers who build custom blocks or editor interfaces. The editor components dev note confirms that WordPress 7.2 completes the migration from Emotion to SCSS Modules in @wordpress/components. This continues the work described in the 7.1 developer note. It removes the package's remaining Emotion dependencies and reduces styling runtime and build overhead.
The note says most consumers using documented props and className will not need changes. If your custom blocks or plugins rely on anything beyond that, such as styling that depends on how the components were built internally, read the full note and test your editor screens in the beta.
A note on username sanitisation
A post on the Core blog titled "Conservative in What We Accept" discusses a report that the conservative sanitize_username approach does not apply to registrations on single-site installs, only on multisite. The post suggests new registrations could have stricter rules and argues that every create, read, update or delete attempt should be treated as hostile.
This is a discussion, not a shipped change. If you run client sites with open user registration, it is worth following, because any tightening could affect how new accounts are created.
A practical testing plan
If you want a simple approach for the rest of the beta period:
- Confirm every production site is on WordPress 7.1.4.
- Choose the client sites with the most custom code or the most complex plugin setups.
- Create or refresh staging copies of those sites and install the 7.2 beta there.
- Check the admin bar and menu, any custom blocks or editor screens, and visit
/random/on the front end. - Note anything that breaks and contact the plugin or theme author early, while there is still time for fixes before release.
Wrapping up
WordPress 7.2 looks like a fairly smooth release for most sites, and the developer notes say most plugins and component users will not need changes. Testing on staging now means you will know which client sites need attention before release day. In the meantime, make sure everything in production is on 7.1.4.
