The Hosting Times

Sunday, December 6, 2026

WordPress 7.2 Meets PHP 8.6, but Wait for the Final Release

WordPress 7.2 addresses PHP 8.6 compatibility issues. Until its final release, check your site’s PHP and WordPress versions before switching.

Developer desk with a laptop, release notes and a calendar date circled, with the WordPress logo
Illustration: The Hosting Times (AI-generated); WordPress logo

WordPress says its coming 7.2 release works with PHP 8.6, but 7.2 is not final yet. If your host offers PHP 8.6, check your WordPress version and plugins before switching a live site.

What changed?

PHP 8.6 arrived on 19 November. In a 23 November compatibility note, WordPress says it has resolved every known issue in its own code for the upcoming 7.2 release. That is a statement about WordPress core, not a guarantee for the plugins and themes that do much of a site’s work.

Nor is it a reason to put a release candidate on a live site. WordPress calls 7.2’s current release candidate unfinished and schedules the final release for 8 December. A newer PHP number in a hosting panel is not an invitation to skip the other half of the compatibility story.

Who might notice a problem?

On older WordPress code with PHP 8.6, some photos that need automatic rotation could come out black. WordPress also found differences affecting certain font uploads and plugins that save images through remote storage. These are specific compatibility cases, not a claim that every PHP 8.6 site will fail. Black is a bold choice for a holiday photo, but not usually the intended one.

The WordPress technical note explains which changes land in 7.2. If your site stays on its existing PHP branch, this new release does not change it. WordPress owners using PHP 8.4 or 8.5 do not need to switch to 8.6 today. That is separate from the November PHP patches for existing branches.

What should you do?

Look at Dashboard → Updates for your WordPress version. To see the site’s PHP version, open Tools → Site Health → Info → Server. If the panel offers 8.6 while WordPress 7.2 is still unreleased, stay on a supported PHP branch you already use, such as 8.4 or 8.5. If your current branch is no longer supported and neither is offered, ask the host to make one available. If your host has already switched your site to 8.6 and photos turn black or image saves fail, request an available supported branch.

When 7.2 is final, its compatibility claim covers core. A plugin that saves images to remote storage may still need its own PHP 8.6 change. If image saves fail, ask the plugin maker about PHP 8.6 support; a host can change your PHP branch, but cannot repair that plugin’s code. Check the compatibility statements for the plugins and theme your site actually uses before selecting 8.6.

Do not wait for 7.2 to install the WordPress 7.1.5 security patch. That patch and the decision to switch PHP versions solve different problems.

For developers

The core note flags font/ttf replacing font/sfnt for valid TrueType files, stream wrappers needing stream_flush(), and GD image flips moving away from negative dimensions in imagecopyresampled(). PHP’s own 8.6 release announcement covers the language release. Plugin maintainers should evaluate their own code against these changes; core’s fixes do not automatically fix extensions.