From 5499d60580a882b356239d89bc7f94c00b1c3523 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 14 Sep 2022 10:19:12 +0000 Subject: [PATCH] Twenty Twenty: Ensure link color is inherited from paragraph in the editor. This changeset improves link colors consistency between front-end and the editor. Props sabernhardt, webcommsat, audrasjb. Fixes #56214. Built from https://develop.svn.wordpress.org/trunk@54153 git-svn-id: http://core.svn.wordpress.org/trunk@53712 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 4 ++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 4 ++++ wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index b3c1001c89..b2f6de3acd 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -156,6 +156,10 @@ Inter variable font. Usage: /* Colors ------------------------------------ */ +.editor-styles-wrapper .has-text-color a { + color: inherit; +} + /* CUSTOM COLORS */ :root .has-accent-color { diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 2e4474ba1f..809b821661 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -156,6 +156,10 @@ Inter variable font. Usage: /* Colors ------------------------------------ */ +.editor-styles-wrapper .has-text-color a { + color: inherit; +} + /* CUSTOM COLORS */ :root .has-accent-color { diff --git a/wp-includes/version.php b/wp-includes/version.php index df06368f54..1d32393fcc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54152'; +$wp_version = '6.1-alpha-54153'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.