Twenty Twelve: Fixes Button block outline style having wrong text color on front.

The Button block has a different text color on the front to the editor when you apply text color. This resolves it without changing other styles.

Props pitamdey, ugyensupport, sabernhardt.
Fixes #61846.

Built from https://develop.svn.wordpress.org/trunk@58885


git-svn-id: http://core.svn.wordpress.org/trunk@58281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-08-12 10:56:16 +00:00
parent 8fa1b1d696
commit 4f8f6e9fa2
2 changed files with 6 additions and 1 deletions

View File

@ -263,6 +263,11 @@ pre.wp-block-code {
color: #7c7c7c;
}
.is-style-outline .wp-block-button__link,
.is-style-outline .wp-block-button__link:visited {
color: currentColor;
}
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link:visited {
background-color: inherit;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58884';
$wp_version = '6.7-alpha-58885';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.