Skip to content

Allowing capability to be filtered.#17

Open
JakePT wants to merge 1 commit intojohnregan3:masterfrom
JakePT:master
Open

Allowing capability to be filtered.#17
JakePT wants to merge 1 commit intojohnregan3:masterfrom
JakePT:master

Conversation

@JakePT
Copy link
Copy Markdown

@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.

1 participant