Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0: Hybrid_Admin_Post_Layout::add_meta_boxes() should allow Editor role #169

Open
lkraav opened this issue Mar 15, 2019 · 0 comments
Open
Labels

Comments

@lkraav
Copy link

lkraav commented Mar 15, 2019

https://github.com/justintadlock/hybrid-core/blob/4.0/admin/class-post-layout.php#L78 hardcodes current_user_can( 'edit_theme_options' ) conditional.

This should be relaxed, because Editor role should be able to choose post-specific layouts, but stay out of theme options in general.

Your thoughts?

lkraav added a commit to lkraav/hybrid-core that referenced this issue Oct 23, 2019
@saas786 saas786 added the v4 label Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants