Fix plugin deactivation link color #927
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The plugin deactivation link is currently bright red (via a simple
color: red
hard-coded in astyle
attribute). This is not a good color choice, as it is very bright and doesn't follow the WordPress admin color scheme. It should instead use#b32d2e
which is used for other deactivation links on a white background (e.g. in the plugins list table).This PR fixes that, and as part of it also avoids the
style
attribute and instead colocates the style with the other styles for the admin page.This PR uses
no milestone
to not include it in changelogs, since for end users this bug is not relevant - it only will be if we don't fix it now :)Checklist
[Focus]
orInfrastructure
label.[Type]
label.no milestone
label.