Bundled Themes: Twenty Twenty button styles produce inconsistent output and cannot be edited.

Fixes the issue with button styles not working when the Gutenberg plugin is activated while maintaining backwards compatibility.

Props nrqsnchz, poena, kjellr.
Fixes #49896.
Built from https://develop.svn.wordpress.org/trunk@47614


git-svn-id: http://core.svn.wordpress.org/trunk@47389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ianbelanger 2020-04-23 15:41:09 +00:00
parent 4632322382
commit f97ac354c6
3 changed files with 9 additions and 5 deletions

View File

@ -902,7 +902,8 @@ hr.wp-block-separator.is-style-dots::before {
/* BUTTON STYLE: OUTLINE */
.editor-styles-wrapper .is-style-outline .wp-block-button__link {
.editor-styles-wrapper .is-style-outline .wp-block-button__link,
.editor-styles-wrapper .is-style-outline.wp-block-button__link {
background: none;
border-color: currentColor;
color: #cd2653;
@ -911,7 +912,8 @@ hr.wp-block-separator.is-style-dots::before {
/* BUTTON STYLE: SQUARED */
.editor-styles-wrapper .is-style-squared .wp-block-button__link {
.editor-styles-wrapper .is-style-squared .wp-block-button__link,
.editor-styles-wrapper .is-style-squared.wp-block-button__link {
border-radius: 0;
}

View File

@ -902,7 +902,8 @@ hr.wp-block-separator.is-style-dots::before {
/* BUTTON STYLE: OUTLINE */
.editor-styles-wrapper .is-style-outline .wp-block-button__link {
.editor-styles-wrapper .is-style-outline .wp-block-button__link,
.editor-styles-wrapper .is-style-outline.wp-block-button__link {
background: none;
border-color: currentColor;
color: #cd2653;
@ -911,7 +912,8 @@ hr.wp-block-separator.is-style-dots::before {
/* BUTTON STYLE: SQUARED */
.editor-styles-wrapper .is-style-squared .wp-block-button__link {
.editor-styles-wrapper .is-style-squared .wp-block-button__link,
.editor-styles-wrapper .is-style-squared.wp-block-button__link {
border-radius: 0;
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-47613';
$wp_version = '5.5-alpha-47614';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.