WordPress.org

WordPress Developer Blog

What’s new for developers? (October 2023)

WordPress 6.4, led by an underrepresented gender release squad, is progressing fast. Beta 3, is about to be released. The Release Candidate 1 is on the schedule for October 17. That’s also when the docs squad will publish the Field Guide with the Dev Notes and a list of all the changes. Final release is scheduled for November 7, 2023.

To learn about most features coming to a WordPress instance near you, you can participate in not one but two calls for testing

After discussion and recommendations from the release squad, release lead Josepha Haden Chomphosy decided to punt the Font Library and Management to the next major version, WordPress 6.5. The feature needs more time and more testing before it can land in a major release rolled out to millions of users. The WordPress Test team published instructions on how you can help test the Font Library using the Gutenberg plugin.

Also, on October 12, 2023 at 18:00 UTC contributors will discuss in a Hallway Hangout: What’s new for developers in WordPress 6.4. The session will be recorded and published on WordPress TV shortly thereafter.

The Gutenberg plugin release for the 16.7 version was moved to September 27th, 2023. Due to the 3-week release cycle the milestone contained 290 PRs. You can find the full changelog in the release post.

Highlights

Background image for Group blocks

Another new feature came to the Group block with the Gutenberg 16.7 release. Users can now add background images to their group blocks via a new UI in the sidebar. 

Name your Group blocks

Since the Gutenberg 16.7 release, users can give specific names to their various group blocks in a post, template or page. Those names also persist when the block becomes part of a pattern. 

Plugins and tools

Point release of WordPress Coding Standards

After the major release of WordPressCS 3.0.0, contributors packaged a minor release of the 3.0.1 with a short changelog. 

Plugin Check plugin 

To help with the giant backlog of reviews for new plugins in the repository, the plugin review team published the Plugin Check plugin.  which developers can use to double-check their code before they submit it to shorten the review cycle. The plugin points to missing or erroneous code sections and provides hints how to solve it or links to the guidelines so a developer can self-correct before submitting the plugin for official review. 

Gutenberg as a framework

More and more agencies and developers are looking into using the Gutenberg packages outside of WordPress. The efforts have been intensified with a series of GitHub issues regarding splitting packages, streamlining ReactJS abstractions and to review components toward reusability in various other contexts. For developers interested in this part of Gutenberg this tracking issue is a great starting point. This GitHub List for the Label “Framework” shows all PRs merged with 16.7. There is also the start of a documentation site. You can get started following these instructions and using Node and Vite for installation. 

Buttons block shows Button block variations in the inserter

When you register custom variations for the Button block, the wrapping Buttons block now shows an inserter with all of the available variations. This makes it easier for users to quickly select the Button variation they want to use.

Customizable theme previews back button

You can now customize the back button when previewing block themes. Currently, it points to /wp-admin/themes.php, but you can change it via the __experimentalDashboardLink key when filter block_editor_settings_all.

New initial focus option for the Modal component

The Modal component now accepts a firstContentElement for its focusOnMount property. The first focusable element is often the close button, and using this option lets you focus on the first element of the content <div> of the Modal component.

Themes

Enable Lightbox for image blocks

If you previously enabled the lightbox feature via theme.json, there has been a change. It’s now a block level specific attribute only for the image core block, that can be turned on or off and also allowEditing can be toggled on or off as well. The support for an animation setting was removed.

“settings”: {
      “blocks”: {
           “core/image”: {
                “lightbox”: {
                       “enabled”: true