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

Allowing capability to be filtered. #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allowing capability to be filtered. #17

wants to merge 1 commit into from

Conversation

JakePT
Copy link

@JakePT JakePT commented Nov 4, 2015

Adds a filter, sccss_capability, that lets developers change the required capability to use the plugin. Also fixes a "Cheatin' uh" error if a user with edit_theme_options but not manage_options tries to save the CSS. It does this by returning the filtered capability in the option_page_capability_ hook.

Adds a filter, sccss_capability, that lets developers change the required capability to use the plugin. Also fixes a "Cheatin' uh" error if a user with edit_theme_options but not manage_options tries to save the CSS. It does this by returning the filtered capability in the option_page_capability_ hook.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant