Opened 5 years ago
#48187 new defect (bug)
Missing admin color scheme causes incorrect body class
Reported by: | johnjamesjacoby | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | 2nd-opinion |
Focuses: | Cc: |
Description
If you pick a non-core admin color scheme (one that is added via some available plugin) but later that color scheme is no longer available (by deactivating said plugin) the admin-area body class continues to reflect the now missing color scheme.
To test:
- Install and activate this plugin (or one like it)
- Change the color scheme in Your Profile to "80's Kid" (or any other non-core one)
- Deactivate the above plugin
- Open inspector in your web browser
- See that the incorrect color scheme class is added to the body element
Ironically, the way WordPress admin CSS is coded, this does not appear to cause any obvious styling breakage, though I do consider this an unintended behavior that can still be corrected.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
See the body class, and also see the fallback to "Default" in my profile