Post Thumbnails: Display the "Remove featured image" link in the classic editor in red color.

This matches the color of the "Move to Trash" link and other similar links for destructive actions in the admin.

Props monikarao, hareesh-pillai, sabernhardt, hellofromTonya.
Fixes #45198.
Built from https://develop.svn.wordpress.org/trunk@50844


git-svn-id: http://core.svn.wordpress.org/trunk@50453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-05-12 10:14:03 +00:00
parent f812323f13
commit 6f2d4403c8
5 changed files with 11 additions and 7 deletions

View File

@ -879,7 +879,8 @@ hr {
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete {
#delete-link a.delete,
a#remove-post-thumbnail {
color: #b32d2e;
}
@ -896,7 +897,8 @@ span.required,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover {
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover {
color: #b32d2e;
border: none;
}

File diff suppressed because one or more lines are too long

View File

@ -878,7 +878,8 @@ hr {
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete {
#delete-link a.delete,
a#remove-post-thumbnail {
color: #b32d2e;
}
@ -895,7 +896,8 @@ span.required,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover {
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover {
color: #b32d2e;
border: none;
}

File diff suppressed because one or more lines are too long

View File

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