WordPress 6.6.2 introduces 26 bug fixes, including an important one that resolves a CSS issue affecting site appearance. Fifteen fixes address the WordPress core, while eleven focus on the Gutenberg block editor.
Maintenance Release – CSS Specificity
WordPress maintenance releases generally consist of minor updates intended to fix issues introduced by new features in the last major update, in this case, version 6.6.
This maintenance release includes a fix for a feature called CSS specificity that was introduced in WordPress 6.6.
CSS is the code that determines the appearance of a web page in terms of colors, sizes, margins, and spaces. Specificity refers to which style belongs to a web page element (like a section of a page or something more granular). CSS Specificity is a set of rules in the WordPress core that determines which CSS property applies when there is ambiguity. The purpose of CSS Specificity was initially to make it simple for theme developers to override WordPress core styles with their own.
However, it was discovered that the implementation of CSS Specificity introduced several issues that significantly affected the appearance of web pages.
WordPress 6.6.2 fixes this issue, so publishers who’ve had issues should consider updating.
Other Fixes
This maintenance release contains 15 fixes to the WordPress core and 11 fixes to the Gutenberg block editor.
Examples of fixes in the Core included in the maintenance release:
- Template contents are wiped out on rename
- Autofocus query string parameter in customizer URL is broken
- Issue with search functionality in installed themes section
- Site Health Tool – Directory sizes stuck in loading state
Sample Of Fixes In Gutenberg:
- Don’t allow duplicating template parts in non-block-based themes
- Data Views: Don’t render action modal when there are no eligible items
- Fix canvas issues by removing VisualEditor’s height
- Post Editor: fix click space after post content to append
- Post Editor: Prevent popover from being hidden by metabox
- Avoid errors for post types without a ‘menu_icon’
Reception Of 6.6.2
Publishers who haven’t experienced this update should feel confident about upgrading to this version. Initial reports in the private Dynamic WordPress Facebook Group are positive, with the admin of the group, David McCan, reporting he’d rolled it out to ten sites without experiencing any issues.
Read The Official WordPress Announcement
WordPress 6.6.2 Maintenance Release
Featured Image by Shutterstock/Cast Of Thousands