WordPress 6.5 Is Around the Corner; Test Beta 2

WordPress 6.5 Beta 2 was released yesterday, featuring exciting capabilities and dozens of updates and bug fixes.

The first major release of 2024, WordPress 6.5 will officially launch on March 26, 2024. Now’s the best time to start poking around, see what’s new, make sure your project(s) are ready, and help test the system so the team can get to the finish line with as few bugs as possible.

To experiment with the latest beta, try WordPress Playground; this no-code browser-based WordPress instance comes pre-installed with extra plugins and test content.
Click here to open a standalone Beta 2 window in a new tab.

Let’s see what’s new:

Improvements and Bug Fixes

The results of the WordPress 2023 Survey revealed that users already rank performance and accessibility among their favorite things about the platform but would like to see even more done to enhance both. Ask, and you shall receive.

Performance and Accessibility

According to the announcement post, the upcoming version “contains more than 110 performance-related updates”, including improved loading speeds across the Post and Site Editor:

ItemWP 6.4WP 6.5Speed
Increase
Typing60ms15ms4x
First block load20s8.4s> 2x
Patterns load2s1.5s1.33x
Site editor first block load7s4.6s1.5x

The loading time for translated sites gets a boost due to merging Performant Translations into Core. This greatly improves the load time of translated sites across the board by loading multiple locales simultaneously, making switching between them a faster and more enjoyable experience.

As an open-source software whose mission is to democratize publishing, WordPress adopted a set of Accessibility Coding Standards. These apply to the project’s core and official plugins, complemented by its long-term goal of achieving Authoring Tool Accessibility Guidelines (ATAG) 2.0 compliance.

To deliver on this promise, version 6.5 ships with over 65 accessibility improvements, including “fixes to contrast settings, cursor focus, submenus, positioning of elements, and more.”

Design and Customization

Since you can never have too much of a good thing, 6.5 comes packed with design, UI, and UX:

  • Background images in Group blocks get backgroundSize and backgroundRepeat  support.
  • The Cover block gets aspectRatio support.
  • The Column, Columns, Image, and Button blocks get box-shadow support.
  • Rename blocks in List View. The name will appear as metadata. For example, <!-- wp:paragraph {"metadata":{"name":"p2"}} -->.
  • Overriding default right-click behavior to allow custom WordPress contextual menus.
  • Better drag-and-drop experience—in List View and throughout the Editor
  • Synced Patterns override (formerly Reusable Blocks) for the Paragraph, Image, Heading, and Button blocks.
  • New Meta Views in the Site Editor, supporting Grid layouts, sorting, and smart filters.
  • Better Revisions in the Site Editor’s Styles and Style Book sidebar.
Editor Triage Co-Lead Anne McCarthy demonstrates the new Meta Views in WordPress 6.5

Shiny New Features

If you clicked the Synced Patterns link above and visited the Gutenberg Times, you might have spotted the word bindings popping up at the end of Birgit Pauli-Haack’s post. An obvious segue into one of the most transformative features of 6.5: the Block Bindings API.

The Block Bindings API

Automattic’s Mario Santos described the goal of the new API:

This API aims to connect block attributes to values, obtained from different sources, that might vary depending on the context. For example, a value like post_author that changes depending on the current post.

This will expand the capabilities of existing blocks […] For example, having a Heading block with the content of the Post Author without needing a new Post Author block.

The API already powers the Synced Patterns and the much-anticipated ability to connect custom fields to block attributes. The list of supported blocks and attributes is short, but that’s only the beginning:

  • Paragraph: content
  • Heading: content
  • Image: URL, alt, title
  • Button: text, URL, linkTarget, rel.

Custom fields have been neglected in the Block Editor, hidden behind the Preferences window like a lost treasure. Let’s hope this is the first sign of their comeback. If you’re interested in what you can build with this powerful combo, check out Justin Tadlock’s tutorial on the WordPress Developer Blog.

The Font Library

Next on the finally list is the Font Library, aka the WordPress font manager. 

Soon, you won’t need to write any code or install any plugins—from now on, you can do it yourself, regardless of your active theme. The fonts are stored under /wp-content/fonts which makes it as theme-agnostic as the Media Library.

A screenshot of the new Font Library (WP 6.5 Beta 2)

To access the Library, open the Styles sidebar, click on Typography, and click the icon next to FONTS. Try to upload, install from Google Fonts, activate, and, well, manage your fonts. Once installed, use it across the Editor, wherever the blocks’ Typography attribute is enabled.

Developers can access the Font Library programmatically, create custom Font Collections for their users, or disable it altogether. Take a peak at the still-WIP documentation for instructions.

The Interactivity API

The grand finale of this impressive lineup is the Interactivity API. James Giroux covered it here on the Tavern earlier this week, so we’ll only give you a taste of WP Movies Demo:

A walkthrough of WP Movies, a demo project that features the Interactivity API (Source)

If you’re a developer interested in the nitty-gritty details and want to try what’s already possible, visit the WP Movies GitHub repository, where you’ll find a getting started tutorial.


That Playground link is tempting, so go experiment, and then come back to tell us which feature you’re most excited about. Have you tried the new APIs? Did you find (and file) any bugs?

15

15 responses to “WordPress 6.5 Is Around the Corner; Test Beta 2”

  1. All these new things, especially the faster speeds are awesome, however, those who make blocks with ACF Pro will get a nasty surprise with WP 6.5, unless this bug is fixed – waiting for the devs. to call this a feature of course…

    So far with the first 2 beta versions of WP 6.5, ACF Blocks are only displayed in the editor in Preview mode. Those who want to use in Edit or Auto modes are out of luck. WP Engine knows about this, and who knows if this is going to be fixed by March 26 – this is a huge setback !

    BTW, the fonts feature are fine with hybrid themes, obviously not classic, as the Site Editor is required to access that feature.

      • Hi Birgit,

        I have given up on reporting issues on GitHub, as sometimes things get totally ignored, unless someone “important” gets involved. I believe it was with WP 6.3 when I had reported a pretty major bug, that was ignored for days, until Anne McCarthy intervened, and surprise-surprise, it got the attention it deserved within hours, and the bug was eventually squashed. On the other hand I can understand the enormity of the problems they face, with thousands of bug reports, even though it seems that there are too many cooks in the “kitchen”, BUT, nobody seems to be in REAL charge. Some bugs, like the one not able to click and move blocks if the toolbar is set on top, they called that a “feature” when I reported it. Simply put, I don’t need the extra aggravation anymore. I am only saying these things, because I know you are involved with Automattic, and in some capacity with Documentation (I thing, sorry if I’m wrong), ONLY as a constructive criticism… just know how some people feel, or at least that’s the perception from the outside. You guys can say all day long, open source, EDI, etc… but the truth of the matter is slightly different. After saying all that, it is taking a long time, but Gutenberg, and especially the Site Editing are awesome, my entire workflow is around them along with ACF Pro.

        • Oh Nick, I appreciate the constructive feedback,.and I have had my share of GitHub issues waiting for attention. It is a huge project, indeed. I was just hoping to get some information from you “ACF Pro will get a nasty surprise with WP 6.5, unless this bug is fixed”
          Given that Beta 3 is next week and you referred to ‘this bug’ that there is already something filed somewhere to get the release lead take look at it during triage.

  2. I have developed a hybrid theme and I’m not sure how to use the new Font Library feature or its related API. Since hybrid themes don’t have access to Global Styles, do you have any tips or workarounds for incorporating the font library into hybrid themes?

    Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Discover more from WP Tavern

Subscribe now to keep reading and get access to the full archive.

Continue reading