Opened 5 years ago
Closed 5 years ago
#7399 closed enhancement (fixed)
Filter to disable admin color scheme selection
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | General | Version: | 2.6 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: |
Description
This would again mainly be for MU - but we have a custom admin css, and the Admin color scheme box doesn't do the users any good. Can we add some sort of filter to disable it? Thanks again!
Change History (9)
- Keywords reporter-feedback added
- Owner changed from anonymous to westi
- Status changed from new to assigned
- Version set to 2.6
Replying to westi:
What do you mean by disable?
What sort of filter do you want here.
I think it should already be possible to have a single custom admin color scheme with the current code.
Ideally I would like a filter to hide that box all together. What I have done in the paste is to add my own custom css to the admin_head action.
I think the best solution here would be for the code on the profile page to only show the options if there is more than one theme and for you to remove the built in themes using a plugin to modify the globals (or even better we could add a wp_admin_remove_css function to allow them to be unregistered.
That would work as well, whatever you guys think is the best solution. All my goal is just to make the box disappear!
- Resolution set to fixed
- Status changed from assigned to closed
- Resolution fixed deleted
- Status changed from closed to reopened

What do you mean by disable?
What sort of filter do you want here.
I think it should already be possible to have a single custom admin color scheme with the current code.