Twenty Ten: Prevent Block Inserter icon color override.

This changeset prevents the likes of `body * { color: #000; }` in custom styles to override the Block Inserter icon styles.

Props umesh84, kajalgohel, sabernhardt, pooja1210, amin7.
Fixes #57414.



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


git-svn-id: http://core.svn.wordpress.org/trunk@55593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-06-27 23:33:26 +00:00
parent 9395b8dc16
commit 2257cecdbf
2 changed files with 7 additions and 1 deletions

View File

@ -373,3 +373,9 @@ p.has-drop-cap:not(:focus)::first-letter {
:root .editor-styles-wrapper .has-white-background-color:visited { :root .editor-styles-wrapper .has-white-background-color:visited {
background-color: #fff; background-color: #fff;
} }
/* Inserter Icon */
.editor-styles-wrapper .block-editor-inserter path {
color: #fff;
}

View File

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