I have a theme-options.php file and am trying to grant Editor users access to edit it.
I've managed to give them access to the page itself by modifying the parameters in this function to include 'moderate_comments':
function theme_options_add_page() {
add_theme_page( __( 'Theme Options', 'sampletheme' ), __( 'Theme Options', 'sampletheme' ), 'moderate_comments', 'theme_options', 'theme_options_do_page' );
}
However, when I try to edit / save the options, I get given a message saying:
Cheatin’ uh?
Can anyone see what the issue is?
Here is the code for my options file if that helps! - http://pastebin.com/uEYJax4M