From 953941b3449349fb9d021988c407a969b81c9f74 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Fri, 21 Jun 2024 14:31:15 +0000 Subject: [PATCH] Twenty Eleven: Resolves pullquote block ignoring font weight and style settings. The pullquote block was ignoring font weight and style settings. This now brings in a fix using inherit. Props nidhidhandhukiya, desrosj, sabernhardt. Fixes #56695. Built from https://develop.svn.wordpress.org/trunk@58453 git-svn-id: http://core.svn.wordpress.org/trunk@57902 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/blocks.css | 24 +++++++++++++++++++ .../themes/twentyeleven/editor-blocks.css | 24 +++++++++++++++++++ wp-includes/version.php | 2 +- 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyeleven/blocks.css b/wp-content/themes/twentyeleven/blocks.css index f5e27a6d0c..a4da8c83ee 100644 --- a/wp-content/themes/twentyeleven/blocks.css +++ b/wp-content/themes/twentyeleven/blocks.css @@ -123,6 +123,18 @@ p.has-drop-cap:not(:focus)::first-letter { font-size: 16px; } +.wp-block-quote[style*="font-weight"] blockquote, +.wp-block-quote[style*="font-weight"] p, +.wp-block-quote[style*="font-weight"] cite { + font-weight: inherit; +} + +.wp-block-quote[style*="font-style"] blockquote, +.wp-block-quote[style*="font-style"] p, +.wp-block-quote[style*="font-style"] cite { + font-style: inherit; +} + /* Audio */ .wp-block-audio audio { @@ -203,6 +215,18 @@ p.has-drop-cap:not(:focus)::first-letter { margin-left: 1.625em; } +.wp-block-pullquote[style*="font-weight"] blockquote, +.wp-block-pullquote[style*="font-weight"] p, +.wp-block-pullquote[style*="font-weight"] cite { + font-weight: inherit; +} + +.wp-block-pullquote[style*="font-style"] blockquote, +.wp-block-pullquote[style*="font-style"] p, +.wp-block-pullquote[style*="font-style"] cite { + font-style: inherit; +} + /* Table */ .wp-block-table { diff --git a/wp-content/themes/twentyeleven/editor-blocks.css b/wp-content/themes/twentyeleven/editor-blocks.css index e19d631d8a..afde2c6d13 100644 --- a/wp-content/themes/twentyeleven/editor-blocks.css +++ b/wp-content/themes/twentyeleven/editor-blocks.css @@ -302,6 +302,18 @@ p.has-drop-cap:not(:focus)::first-letter { font-size: 16px; } +.wp-block-quote[style*="font-weight"] blockquote, +.wp-block-quote[style*="font-weight"] p, +.wp-block-quote[style*="font-weight"] cite { + font-weight: inherit; +} + +.wp-block-quote[style*="font-style"] blockquote, +.wp-block-quote[style*="font-style"] p, +.wp-block-quote[style*="font-style"] cite { + font-style: inherit; +} + /* Cover */ .edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text, @@ -358,6 +370,18 @@ p.has-drop-cap:not(:focus)::first-letter { font-size: 20px; } +.wp-block-pullquote[style*="font-weight"] blockquote, +.wp-block-pullquote[style*="font-weight"] p, +.wp-block-pullquote[style*="font-weight"] cite { + font-weight: inherit; +} + +.wp-block-pullquote[style*="font-style"] blockquote, +.wp-block-pullquote[style*="font-style"] p, +.wp-block-pullquote[style*="font-style"] cite { + font-style: inherit; +} + /* Table */ .editor-styles-wrapper .wp-block-table th, diff --git a/wp-includes/version.php b/wp-includes/version.php index 5cf05ce279..dcfd744d6d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta3-58452'; +$wp_version = '6.6-beta3-58453'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.