From 64202a7ca3bdd654d41424167afc3fa801dd8a84 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Aug 2019 11:56:57 +0000 Subject: [PATCH] Twenty Eleven: Correct height for a Button block without text. Props ianbelanger, laurelfulford, nayana123. See #47414. Built from https://develop.svn.wordpress.org/trunk@45763 git-svn-id: http://core.svn.wordpress.org/trunk@45574 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/editor-blocks.css | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyeleven/editor-blocks.css b/wp-content/themes/twentyeleven/editor-blocks.css index d32df04ba6..7682b15e78 100644 --- a/wp-content/themes/twentyeleven/editor-blocks.css +++ b/wp-content/themes/twentyeleven/editor-blocks.css @@ -382,6 +382,10 @@ p.has-drop-cap:not(:focus)::first-letter { text-shadow: 0 -1px 0 rgba(0,0,0,0.3); } +.wp-block-button .wp-block-button__link[data-is-placeholder-visible=true] { + height: auto; +} + .wp-block-button__link { background: #222; color: #eee; diff --git a/wp-includes/version.php b/wp-includes/version.php index de903216bd..b8f4c5b6be 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45762'; +$wp_version = '5.3-alpha-45763'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.