Accessibility: Privacy: Use red color for action buttons on the Erase Personal Data screen:

* "Erase Personal Data" button in the Next Steps column.
* "Force Erase Personal Data" row action.

This highlights the destructive nature of those buttons to avoid an accidental erasure, and is consistent with other similar UI elements in the admin, e.g. various "Delete", "Spam", or "Trash" buttons.

Props arena, sabernhardt, carike, azaozz, joedolson, audrasjb, SergeyBiryukov.
Fixes #49603.
Built from https://develop.svn.wordpress.org/trunk@51891


git-svn-id: http://core.svn.wordpress.org/trunk@51484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-10-05 20:32:05 +00:00
parent dca9c85ff7
commit a1c50512d7
5 changed files with 11 additions and 7 deletions

View File

@ -884,7 +884,8 @@ hr {
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail {
a#remove-post-thumbnail,
.privacy_requests .remove-personal-data .remove-personal-data-handle {
color: #b32d2e;
}
@ -902,7 +903,8 @@ span.required,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover {
a#remove-post-thumbnail:hover,
.privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
color: #b32d2e;
border: none;
}

File diff suppressed because one or more lines are too long

View File

@ -883,7 +883,8 @@ hr {
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail {
a#remove-post-thumbnail,
.privacy_requests .remove-personal-data .remove-personal-data-handle {
color: #b32d2e;
}
@ -901,7 +902,8 @@ span.required,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover {
a#remove-post-thumbnail:hover,
.privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
color: #b32d2e;
border: none;
}

File diff suppressed because one or more lines are too long

View File

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