From b686f90dbbb59172b09b31e259e8f961fcee58c2 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 9 Jun 2024 09:42:09 +0000 Subject: [PATCH] Twenty Fifteen: Fixes quote text color not changing with block setting. The quote block citation text color wasn't changing through block settings. This resolves by using inherit. Props viralsampat, poena, sabernhardt, shailu25, krupajnanda, hmbashar, rajinsharwar. Fixes #59802. Built from https://develop.svn.wordpress.org/trunk@58368 git-svn-id: http://core.svn.wordpress.org/trunk@57817 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/css/blocks.css | 10 ++++++++++ wp-content/themes/twentyfifteen/css/editor-blocks.css | 5 +++++ wp-includes/version.php | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfifteen/css/blocks.css b/wp-content/themes/twentyfifteen/css/blocks.css index 70026d2e72..e0aae3405b 100644 --- a/wp-content/themes/twentyfifteen/css/blocks.css +++ b/wp-content/themes/twentyfifteen/css/blocks.css @@ -123,6 +123,11 @@ p.has-drop-cap:not(:focus)::first-letter { text-transform: none; } +.wp-block-quote[class*="-text-color"] cite, +.wp-block-quote[style*="color"] cite { + color: inherit; +} + .wp-block-quote em, .wp-block-quote i { font-style: normal; @@ -335,6 +340,11 @@ p.has-drop-cap:not(:focus)::first-letter { text-transform: none; } +.wp-block-pullquote[class*="-text-color"] blockquote cite, +.wp-block-pullquote[style*="color"] blockquote cite { + color: inherit; +} + @media screen and (min-width: 46.25em) { .wp-block-pullquote cite { font-size: 17px; diff --git a/wp-content/themes/twentyfifteen/css/editor-blocks.css b/wp-content/themes/twentyfifteen/css/editor-blocks.css index 477871ba12..7f1327d258 100644 --- a/wp-content/themes/twentyfifteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfifteen/css/editor-blocks.css @@ -685,6 +685,11 @@ p.has-drop-cap:not(:focus)::first-letter { text-transform: none; } +.wp-block-pullquote[class*="-text-color"] blockquote cite, +.wp-block-pullquote[style*="color"] blockquote cite { + color: inherit; +} + @media screen and (min-width: 46.25em) { .wp-block-pullquote .wp-block-pullquote__citation { font-size: 17px; diff --git a/wp-includes/version.php b/wp-includes/version.php index fb63eab905..3296dfedf4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta1-58367'; +$wp_version = '6.6-beta1-58368'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.