devinsays/options-framework-plugin — Issue #84: Saving/permissions issues.
Author: mattwiebe
Created: 2012-01-03 23:02:00+00:00
State: open

I integrated Options Framework into my [The Erudite](http://wordpress.org/extend/themes/the-erudite) and have been having a number of reports of the [options not saving](http://wordpress.org/support/topic/697869). I'm wondering if there are any known issues that could be causing it?

I've been unable to reproduce this in any situation, but have a theory: maybe your use of the Settings API is producing situations where users are able to view the theme options, but not to save them? In other words, you need the `edit_theme_options` permission to view the theme options page, but here's permissions for the Settings API from the [codex page](http://codex.wordpress.org/Settings_API):

> NOTE: When using the Settings API, the form posts to options.php which provides fairly strict capabilities checking. Users will need 'manage_options' capability (and in MultiSite will have to be a Super Admin) to submit the form.

This creates a situation where users--especially in a Multisite setup--where users can *see* the options, but not save them, which is bad.

The two solutions would be 1) register the theme options page with the 'manage_options' capability, or 2) stop using the Settings API. I think the latter is the better user experience, but of course more work.