WordPress 6.5: plugin dependencies, the font library and AVIF
WordPress 6.5 came out yesterday. By the end of the week, plenty of sites will be running it, and some owners won’t have clicked a thing. Minor releases update automatically on most sites, and major ones like this often do too, depending on the host.
The release notes read like a pile of block editor tweaks, and a fair bit of 6.5 is exactly that. Skip most of it. Three changes are worth your time, because they affect how plugins install, how fonts load and which image formats you can use: plugin dependencies, the font library and AVIF support.
Plugin dependencies
What changed
Until now, a plugin that needed another plugin to work (an add-on for WooCommerce, say, or an extension for a form builder) had no standard way to say so. Each one handled it differently: a warning banner, a silent failure, or occasionally a broken site.
From 6.5, plugin authors can add a Requires Plugins line to their plugin header listing the plugins it depends on. WordPress then:
- shows the dependency on the plugin’s card in the admin
- won’t let you activate the add-on until the required plugin is installed and active
- won’t let you deactivate the required plugin while something depends on it
What it means for you
Fewer half-working add-ons, and fewer “I deactivated WooCommerce to test something and three plugins broke” moments. I like it.
It does add one new kind of confusion. If WordPress refuses to deactivate a plugin during troubleshooting, this is why, and you’ll need to deactivate the dependent plugins first. Better to know that before you’re in the middle of hunting down a plugin conflict.
Adoption will take time, because authors have to add the header themselves. Don’t expect every add-on to use it this month.
The font library
What changed
Block themes could already define fonts in their settings. 6.5 adds a font library in the site editor, where you can upload fonts or install them from Google Fonts, then use them in your typography settings across the site. Fonts you add are stored on your own site rather than loaded from a third party.
This is for block themes and the site editor. If you use a classic theme or a page builder, you’ll likely not see it.
What it means for speed
Self-hosted fonts are generally a good thing. Loading fonts from your own domain avoids an extra connection to a third-party server and keeps control in your hands.
The risk runs the other way. Adding fonts is now easy, so it’s easy to add too many. Every family, weight and style is another file to download, and two families in four weights each is already eight files.
My rule of thumb hasn’t changed: one or two families, only the weights you actually use, and check the result in a speed test. I went through the impact in Shopify page speed: fonts, sliders and the hero image; the font part applies to WordPress just as much.
AVIF support
What changed
WordPress 6.5 lets you upload and use AVIF images in the media library, the same way it added WebP support back in 5.8. AVIF usually compresses better than WebP and JPEG at similar quality, especially for photos.
The important condition: it only works if your server’s image library supports AVIF. WordPress uses Imagick or GD to create the resized versions of each upload. If those don’t support AVIF on your host, uploads may fail or the smaller sizes won’t be generated. The Site Health screen (Tools > Site Health > Info > Media handling) shows what your server supports.
What it means for SEO
Smaller images mean faster pages, which helps LCP when the largest element is an image. Google can index AVIF images, and all major browsers now support the format.
But AVIF isn’t a reason to re-export your whole library this week. Here’s how I’d think about it:
- New hero and product images are good candidates if your server supports AVIF.
- Existing images are often better handled by an image optimisation plugin that serves modern formats automatically, with fallbacks. See WordPress image optimisation plugins compared.
- JPEG is still fine for a lot of sites. Image formats: WebP, AVIF and when JPEG is fine covers the trade-offs.
Other bits worth a mention
- Performance work in the editor and in translations. Sites in languages other than English should load translation files more efficiently, which can help server response times a little.
- Interactivity API and Block Bindings API. Developer features for now. If you don’t build blocks, you can ignore them, but you’ll see more plugins using them later.
- More design tools for blocks, such as box shadows and better control over backgrounds.
Before you update
The usual routine, and it’s worth doing for a major release:
- Take a full backup and make sure you know how to restore it.
- Update on staging first if you have one. WordPress staging sites: how to test changes safely covers the setup.
- Update plugins and themes first, so they’re on versions that support 6.5.
- Test the things that make money: forms, checkout, booking, search, the homepage.
- Check Site Health afterwards for new warnings.
On client sites, I give a major release a day or two before I update. Popular plugins often push quick compatibility fixes in the first week, and I’d rather let other people find those bugs.
Related reading
- A WordPress maintenance checklist for site owners
- Image formats: WebP, AVIF and when JPEG is fine
- WordPress staging sites: how to test changes safely
- Plugin conflicts on WordPress: how I find the culprit
Open Site Health on your site today and check the media handling section. Does your server support AVIF? That one answer tells you whether the biggest change in 6.5 is available to you at all.