What Is New in WordPress 6.4
WordPress 6.4 brings a significant update focused on refining the Site Editor, enhancing performance, and introducing new design tools. It's a release that builds on the foundation of full-site editing, making it more intuitive and powerful for both developers and content creators.
| Category | Key Highlights |
|---|---|
| New Features | Group filter in Patterns, Lightbox block, Image preview in List View, Command Palette enhancements |
| Improvements | Block Hooks API, Image performance (AVIF support), Writing flow refinements, Toolbar updates |
| Developer | New wp_is_serving_rest_request() function, Block Binding API, Interactivity API updates |
| Bug Fixes | Over 100 bug fixes across the editor, design tools, and core infrastructure |
How is the Site Editor experience improved?
The Site Editor received major usability upgrades. The new Group filter in Patterns makes organizing and finding the right pattern much faster. You can now also preview image thumbnails directly in the List View, which saves a ton of time when navigating complex templates.
The Command Palette (Ctrl+K or Cmd+K) is now more powerful, letting you create new posts and pages without leaving your current screen. In practice, this feels like a native desktop app and significantly speeds up content creation workflows.
What new design tools are available?
WordPress 6.4 introduces the Lightbox block, allowing you to easily add click-to-expand functionality to image galleries. This is a common user experience pattern that previously required a plugin or custom code.
Design control refinements include more granular padding and margin controls, giving you pixel-perfect control over spacing. The writing flow has also been improved with better line breaks and a more intuitive caption experience for captions on grouped blocks.
What performance enhancements should I look for?
Under-the-hood performance gets a boost with improved image loading. The core now has built-in support for the modern AVIF image format, which offers superior compression and quality compared to JPEG or WebP, leading to faster page loads.
Numerous performance-oriented bug fixes address rendering speed within the editor and on the front end. This matters because a smoother editing experience directly translates to higher productivity for content teams.
What's new for developers in this release?
The Block Hooks API is a standout feature for developers. It allows blocks to automatically insert themselves into content in a predictable way, similar to WordPress action hooks. This enables plugin developers to inject content without relying on template edits.
A new core function, wp_is_serving_rest_request(), helps distinguish between front-end and REST API requests. The Interactivity API continues to evolve, providing a standard way to build interactive front-end experiences without large JavaScript frameworks.
// Example: Check if the current request is a REST API request
if ( wp_is_serving_rest_request() ) {
// Handle REST API specific logic
}
FAQ
Is the Block Hooks API stable for production use?
Yes, the Block Hooks API introduced in 6.4 is a stable, core feature. It allows developers to use the blockHooks property in block.json to automatically insert blocks into content, reducing the need for manual user action.
How do I enable AVIF image support?
AVIF support is built into the core but requires your hosting environment to have a corresponding image processing library (like GD or Imagick) that supports the AVIF format. WordPress will automatically use it if available.
What happened to the Font Library feature?
The planned Font Library was removed from the 6.4 release shortly before launch to allow for further refinement. This feature is expected to be included in a future release once it's fully ready.
Does the new Lightbox block work with any image?
The Lightbox block is designed to work with the Gallery block. It adds the click-to-expand functionality to all images within a gallery, creating a unified lightbox experience without custom code.
Are there any notable changes for theme.json?
While not a radical overhaul, 6.4 includes incremental updates to theme.json schema and support, particularly around providing more detailed settings for blocks and continuing to expand the design tools available to themes.