From 730c19890153fc7ffa78a032fa01356a2e22127a Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 23 Jun 2023 14:40:22 +0000 Subject: [PATCH] Twenty Fourteen: Fix Letter Case implementation. This changeset fixes Letter Case control implementation on the Button block, on both front-end and in the Editor. Props thakordarshil, pateljaymin, sabernhardt, panchalhimani711, mukesh27. See #58526. Built from https://develop.svn.wordpress.org/trunk@55997 git-svn-id: http://core.svn.wordpress.org/trunk@55509 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/css/blocks.css | 5 +++++ wp-content/themes/twentyfourteen/css/editor-blocks.css | 5 +++++ wp-includes/version.php | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfourteen/css/blocks.css b/wp-content/themes/twentyfourteen/css/blocks.css index d1cdb5e4cb..e45818241d 100644 --- a/wp-content/themes/twentyfourteen/css/blocks.css +++ b/wp-content/themes/twentyfourteen/css/blocks.css @@ -242,6 +242,11 @@ p.has-drop-cap:not(:focus)::first-letter { vertical-align: bottom; } +.wp-block-buttons[style*="text-transform"] .wp-block-button__link, +.wp-block-button[style*="text-transform"] .wp-block-button__link { + text-transform: inherit; +} + .wp-block-button__link { background-color: #24890d; color: #fff; diff --git a/wp-content/themes/twentyfourteen/css/editor-blocks.css b/wp-content/themes/twentyfourteen/css/editor-blocks.css index 8cf3c0e5e7..39f55255b1 100644 --- a/wp-content/themes/twentyfourteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfourteen/css/editor-blocks.css @@ -424,6 +424,11 @@ p.has-drop-cap:not(:focus)::first-letter { vertical-align: bottom; } +.wp-block-buttons[style*="text-transform"] .wp-block-button__link, +.wp-block-button[style*="text-transform"] .wp-block-button__link { + text-transform: inherit; +} + .wp-block-button__link { background-color: #24890d; color: #fff; diff --git a/wp-includes/version.php b/wp-includes/version.php index cb0041612d..e0636e9792 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55996'; +$wp_version = '6.3-alpha-55997'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.