Web Development

WordPress 7.2 Supports PHP 8.6. Test a Font and a Photo Before You Switch

Nouman Bin Tahir
Nouman Bin Tahir
November 29, 20266 min read
WordPress 7.2 Supports PHP 8.6. Test a Font and a Photo Before You Switch

🔑 Key Takeaways

  • 1. WordPress released 7.2 RC3 on November 24 for testing ahead of its planned December 8 release.
  • 2. A font upload, image flip and remote media save exercise different parts of a WordPress installation.
  • 3. PHP 8.2 reaches the end of upstream security support on December 31, 2026.
📑 Table of Contents

If you run a WordPress site, put a photo and a font file on your upgrade checklist. On November 24, WordPress released the third candidate for version 7.2. Its core team had just confirmed compatibility with PHP 8.6, the software that runs WordPress on the server. Some of the work behind that announcement involved ordinary tasks: uploading a typeface, flipping a photo and saving an edited image. They make good tests for your own site while there is still time to report a problem.

WordPress has scheduled the finished version of 7.2 for December 8, 2026. For now, the project recommends running release candidate 3 on a test site. You can try the new editor in a browser through WordPress Playground, linked in the announcement. To decide whether your own installation is ready for PHP 8.6, use a staging copy with the theme, plugins and image tools you actually use.

Two updates, two decisions

PHP 8.6 became available on November 19. Your hosting provider decides which PHP versions you can select. Updating WordPress through the dashboard and choosing a PHP version in the hosting panel are separate changes. Start by opening Tools > Site Health > Info > Server in your WordPress dashboard. Record the PHP version shown there, along with your WordPress version. WordPress documents that dashboard path for checking what serves the site.

In a November 23 development note, Jonathan Desrosiers wrote that the contributors had resolved the known PHP 8.6 issues in WordPress core by 7.2 Beta 5. The team runs its tests against the new PHP version when core changes. A checkout extension, a theme built for one client or a plugin that sends media to remote storage has its own code. Its maintainer and the site owner have a different set of things to test.

The minimum PHP version for WordPress 7.2 remains 7.4. For someone running PHP 8.2, a more relevant date is December 31, 2026, when that branch reaches the end of upstream security support. PHP’s support calendar lists December 31, 2028 for the end of security support for 8.4 and December 31, 2029 for 8.5. If your host offers several branches, those dates give you room to choose one that your essential plugins support. Ask the host which updates it supplies for your particular installation.

Why a perfectly good font could fail to upload

A font file carries more than a filename. Software inspecting its contents can give it a type label, and an uploader can use that label to decide whether to accept it. In the case of a TrueType font, two servers inspecting the same file can now give different, legitimate answers.

The copy of the file-identification library bundled with PHP 8.6 recognizes a TrueType file as font/ttf. Earlier builds commonly reported font/sfnt. Some older PHP installations can already report the newer label if they use the host system’s library. WordPress 7.2 accepts both for a valid .ttf file. A theme or font-management plugin with its own check might still accept just the older value. The core team explains the distinction in its notes for theme and plugin authors.

Try a font you have permission to use and have successfully uploaded before. Use your usual font manager on the staging site, apply the font to a heading and open the page as a visitor. If the upload fails, keep the file unchanged. Record which uploader rejected it and what the message said. Renaming the file or loosening restrictions across the media library would make it harder to tell which check needs fixing.

What a black thumbnail tells you

WordPress can use an image-processing library called GD to flip a picture. Older core code did the flip by asking a resizing function to work with negative dimensions. With the GD version bundled in PHP 8.6, that operation could turn the result black. A contributor recorded the difference between the two environments in the project’s image-editor bug report. The fix uses a function intended for flipping images. The separate Imagick editor was unaffected by this particular fault.

You can test the result without reading the code. Pick a photo with an unmistakable left and right side, such as a blue cup next to a red book. Upload it on staging, flip it with the image editor, save and inspect the thumbnail and the larger version on a page. A symmetrical photo makes a poor test: it can look right even if nothing moved. If your site normally processes photos through a plugin, repeat the edit there as well.

Check where the edited file landed

There is a separate reason to open the finished image. Some sites route media writes through a plugin to an external store. PHP 8.6 can report a failure when a custom stream wrapper omits the method that finishes a write. WordPress core’s explanation of remote saves distinguishes this case from writing directly to the local filesystem.

If your site uses remote storage, use its staging destination and a fresh image with a recognizable filename. Open the newly generated size from the test page, then check that the intended object exists in that destination. A successful upload of the original alone tells you little about a thumbnail that the editor creates afterward. Keep a working example from before the switch so the plugin maintainer can compare the two.

A rehearsal that can tell you what broke

Before either change, follow the WordPress PHP update guide and make a backup. Check that you know how to restore both the files and the database. On a shop or membership site, configure the test copy to keep real payments and customer email switched off. Then repeat a short set of tasks, using the same files and accounts each time:

  1. On the staging copy as it stands, sign in, save a draft and try the media tasks your editors rely on. Note any failure already present.
  2. Install the WordPress release candidate on staging while keeping the current PHP version, provided it meets the minimum. Repeat the same tasks.
  3. Switch only the staging copy to PHP 8.6. Check Site Health again to confirm the change took effect, then rerun the tests with the same plugins active.
  4. Exercise one action that matters to the business. For a shop, place an order through a test payment method and check that it appears in the order list. For a publisher, schedule a test post and verify that it becomes visible at the intended time.

When a test fails, write down the first combination that failed, the one that passed, the plugin version and the shortest sequence that shows the problem. That gives a maintainer something they can try. On a site where everything passes, keep the same checklist for the final release. A saved order, a readable thumbnail and a heading in the right typeface tell you more about that particular installation than a green dashboard alone.

Editorial illustration: An ink roller beside two blue print proofs, one with a rough edge and one with a clean edge.

Sources

FAQ

Frequently Asked Questions

Quick answers to the most common questions readers usually have about this topic.

Does installing WordPress 7.2 switch a site to PHP 8.6?

The host controls the PHP version. WordPress 7.2 still accepts PHP 7.4 as its minimum. Check the active runtime in Tools > Site Health > Info > Server.

Where should I try WordPress 7.2 RC3?

WordPress recommends a test site. Use a staging copy with your usual theme, plugins and media storage to check how your own installation behaves.

Which font should I use for the upload test?

Choose a valid TrueType font you have permission to use and that worked on your current setup. Use the same file on both configurations.

What's your reaction?

How spicy is this take? 🌶️

Rate the controversy or spiciness of this article

Be the first to rate!
Share:
🤖

Free Tool

Turing Test: AI vs Human

A lightweight quiz to test AI-vs-human visual intuition.

Try it free →

Related articles

More stories with shared topics or from this category.

Comments

0