From 4f8f6e9fa25f598fc06829d0ea72caac4d3d60e4 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 12 Aug 2024 10:56:16 +0000 Subject: [PATCH] Twenty Twelve: Fixes Button block outline style having wrong text color on front. The Button block has a different text color on the front to the editor when you apply text color. This resolves it without changing other styles. Props pitamdey, ugyensupport, sabernhardt. Fixes #61846. Built from https://develop.svn.wordpress.org/trunk@58885 git-svn-id: http://core.svn.wordpress.org/trunk@58281 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwelve/css/blocks.css | 5 +++++ wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwelve/css/blocks.css b/wp-content/themes/twentytwelve/css/blocks.css index ca828eef4a..9dfa0cd6d6 100644 --- a/wp-content/themes/twentytwelve/css/blocks.css +++ b/wp-content/themes/twentytwelve/css/blocks.css @@ -263,6 +263,11 @@ pre.wp-block-code { color: #7c7c7c; } +.is-style-outline .wp-block-button__link, +.is-style-outline .wp-block-button__link:visited { + color: currentColor; +} + .wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link:visited { background-color: inherit; diff --git a/wp-includes/version.php b/wp-includes/version.php index 50334906c4..55686af520 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58884'; +$wp_version = '6.7-alpha-58885'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.