WordPress Release: 6.6.2

Tag Name: 6.6.2

Release Date: 9/10/2024

WordPress LogoWordPress

World's most popular open-source content management system powering over 40% of all websites. Offers extensive plugin ecosystem, themes, and robust community support for blogs, e-commerce, and corporate websites. Highly customizable and scalable platform suitable for beginners and advanced developers.

TL;DR

WordPress 6.6.2 is a maintenance release that addresses 16 bugs from WordPress 6.6.1. This update fixes critical issues with the Block Editor, Theme JSON, Interactivity API, and Site Health. Key improvements include preventing content loss when renaming templates, fixing style specificity issues, resolving translation problems, and addressing various UI and functionality bugs. This release ensures better stability and compatibility for WordPress sites without introducing any new features.

Highlight of the Release

    • Fixed a critical bug that prevented content loss when renaming templates
    • Resolved Theme JSON specificity issues that were affecting theme styling
    • Fixed Interactivity API to properly handle server-derived state
    • Improved Site Health to prevent stalling when checking non-existent directories
    • Fixed text wrapping issues on non-Latin languages in the About pages

Migration Guide

No migration steps are required for this maintenance release. WordPress 6.6.2 is a bug fix release that maintains backward compatibility with 6.6.1. Simply update your WordPress installation through the dashboard or via your preferred method.

If you experienced any of the specific issues mentioned in the bug fixes section, updating to 6.6.2 should resolve those problems without requiring additional configuration changes.

Upgrade Recommendations

It is highly recommended to upgrade to WordPress 6.6.2 as soon as possible. This maintenance release fixes several important bugs that could affect content creation, site administration, and theme functionality.

The update is particularly important for:

  • Site administrators who use the Site Health tool
  • Content creators who work with templates and the block editor
  • Theme developers who rely on Theme JSON functionality
  • Sites using non-English languages that experienced text wrapping issues
  • Developers working with the Interactivity API

As this is a bug fix release with no security patches, the urgency is moderate rather than critical, but updating will provide a more stable and reliable WordPress experience.

Bug Fixes

Block Editor and Templates

  • Fixed a critical bug that was erasing template content when renaming templates
  • Resolved issues with clicking space after post content to append new blocks
  • Fixed popover positioning to prevent it from being hidden by metaboxes
  • Addressed canvas issues by removing VisualEditor's height constraints

Theme and Styling

  • Fixed Theme JSON specificity issues where the root selector (body) was incorrectly wrapped
  • Resolved issues with block custom CSS pseudo-element selectors in global styles
  • Fixed stylesheet ordering when style variations are applied
  • Corrected specificity for layout styles in non-iframed editor environments
  • Fixed Featured Image Block CSS specificity issues

Admin Interface

  • Fixed theme search event not firing on enter in the installed and add new theme screens
  • Resolved Customizer issues with sanitizing autofocus URL parameters
  • Fixed text wrapping on non-English locales in Help/About pages
  • Prevented errors for post types without a 'menu_icon'

Core Functionality

  • Fixed the Walker class to properly cast $max_depth and $depth to integers
  • Resolved issues with wp_calculate_image_srcset() when WP_CONTENT_URL is set to a relative URL
  • Fixed Data Views to not render action modal when there are no eligible items
  • Prevented duplicating template parts in non-block-based themes

New Features

This maintenance release focuses exclusively on bug fixes and does not introduce any new features.

Security Updates

This release does not include any specific security fixes.

Performance Improvements

This release includes minor performance improvements related to CSS specificity and stylesheet ordering. By fixing issues with Theme JSON and layout styles, the update ensures that styles are applied more efficiently and consistently across different editor environments. The fix for Site Health checks also improves performance by preventing the system from stalling when reporting directory sizes for non-existent directories.

Impact Summary

WordPress 6.6.2 is a maintenance release that addresses 16 bugs from the previous version. The most significant fixes include preventing content loss when renaming templates, resolving Theme JSON specificity issues, fixing the Interactivity API's handling of server-derived state, and improving Site Health functionality.

This release has a moderate impact on all WordPress users, with particular benefits for content creators, theme developers, and international users. The fixes ensure better stability and compatibility without introducing any breaking changes or requiring migration steps.

The update resolves several UI issues, including text wrapping problems in non-Latin languages and theme search functionality. It also addresses technical issues with CSS specificity, stylesheet ordering, and attribute handling in the HTML API.

While there are no security fixes in this release, the bug fixes improve the overall reliability and user experience of WordPress 6.6, making it a recommended update for all sites.

Statistics:

File Changed24
Line Additions575
Line Deletions313
Line Changes888
Total Commits22

User Affected:

  • Fixed Site Health issues that previously stalled when reporting directory sizes for non-existent directories
  • Resolved issues with theme search functionality in admin screens
  • Fixed Customizer URL parameter sanitization that was causing problems

Contributors:

aaronjorbinockhamhellofromtonyaluisherranzjoedolsonaudrasjb