Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

ModularContent/MetaBox.php and 'modern' admin color scheme #192

Open
BCITWebServices opened this issue Feb 3, 2022 · 1 comment
Open

Comments

@BCITWebServices
Copy link

Problem:
ModularContent/MetaBox::print_admin_theme_css() throws "PHP Notice: Undefined offset: 3" whenever the user has the 'modern' admin style chosen, which only has 3 colors available in it.

Proposed fix:
'modern' should be added to the list of other color schemes that are using index 2 here.

@defunctl
Copy link
Contributor

defunctl commented Feb 3, 2022

@BCITWebServices we'd certainly accept a PR for this update, if you're willing!

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants