From 13b79b4a3b22a837e006fd7c9615b03946c9f6c9 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 4 Oct 2022 08:22:10 +0000 Subject: [PATCH] Twenty Sixteen: Improve Pullquote Block text color consistency between editor and front-end. This changeset ensures the text color selected for the text of the Pullquote Block is reflected on both front-end and on the editor. Props nithins53, nidhidhandhukiya, audrasjb, sabernhardt, poena. Fixes #56008. Built from https://develop.svn.wordpress.org/trunk@54381 git-svn-id: http://core.svn.wordpress.org/trunk@53940 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentysixteen/css/blocks.css | 7 +++++++ wp-content/themes/twentysixteen/css/editor-blocks.css | 7 +++++++ wp-includes/version.php | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentysixteen/css/blocks.css b/wp-content/themes/twentysixteen/css/blocks.css index 9030eb1fd4..d468054501 100644 --- a/wp-content/themes/twentysixteen/css/blocks.css +++ b/wp-content/themes/twentysixteen/css/blocks.css @@ -172,6 +172,13 @@ p.has-drop-cap:not(:focus)::first-letter { padding: 0 24px 0 0; } +.wp-block-pullquote.has-text-color blockquote, +.wp-block-pullquote.has-background blockquote, +.has-background .wp-block-pullquote blockquote, +.wp-block-pullquote.has-text-color cite { + color: inherit; +} + .wp-block-pullquote p { font-size: 19px; font-size: 1.1875rem; diff --git a/wp-content/themes/twentysixteen/css/editor-blocks.css b/wp-content/themes/twentysixteen/css/editor-blocks.css index 9e4c7760c3..85db767261 100644 --- a/wp-content/themes/twentysixteen/css/editor-blocks.css +++ b/wp-content/themes/twentysixteen/css/editor-blocks.css @@ -511,6 +511,13 @@ Description: Used to style blocks in the editor. text-transform: none; } +.wp-block-pullquote.has-text-color blockquote, +.wp-block-pullquote.has-background blockquote, +.has-background .wp-block-pullquote blockquote, +.wp-block-pullquote.has-text-color cite { + color: inherit; +} + .wp-block-pullquote .wp-block-pullquote__citation:before { content: "\2014\00a0"; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 81f605c0a3..057064831e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta2-54380'; +$wp_version = '6.1-beta2-54381'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.