From 12d738c64c7c34a6de33bf4e959b2e82c9136930 Mon Sep 17 00:00:00 2001 From: youknowriad Date: Thu, 29 Feb 2024 10:08:15 +0000 Subject: [PATCH] Bundled Theme: Fix focus outline in Twenty Twenty-Four in the editor. Improvements made to the focus outline style for Twenty Twenty-Four caused a regression in the focus outlines of the block editor. This commit solves the regressions by reducing the CSS specificity while keeping the improvements. Follow-up to [57554]. Props wildworks, poena, sabernhardt, youknowriad, oglekler. Fixes #60535. Built from https://develop.svn.wordpress.org/trunk@57739 git-svn-id: http://core.svn.wordpress.org/trunk@57240 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentyfour/theme.json | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwentyfour/theme.json b/wp-content/themes/twentytwentyfour/theme.json index 8acd7993c3..fe6bd3b606 100644 --- a/wp-content/themes/twentytwentyfour/theme.json +++ b/wp-content/themes/twentytwentyfour/theme.json @@ -907,7 +907,7 @@ "fontWeight": "400", "lineHeight": "1.55" }, - "css": ".wp-site-blocks *:focus{outline-width:2px;outline-style:solid}" + "css": ":where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid}" }, "templateParts": [ { diff --git a/wp-includes/version.php b/wp-includes/version.php index 5ccfc60d90..f81e9d985c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-beta3-57738'; +$wp_version = '6.5-beta3-57739'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.