WordPress.org

Ready to get started?Download WordPress

Forums

Blaskan
Cheatin Uh error when trying to change colors in theme options (1 post)

  1. origamillama
    Member
    Posted 1 year ago #

    I have a multisite. Users who have their own sites are limited to the Editor role using the plugin User Role Editor. They have access to edit theme options. They do not have access to edit options.

    When as user tries to change the link color in the theme options menu, wp returns the error "Cheatin' Uh?" and they are not able to do it.

    I found this: http://wordpress.org/support/topic/wordpress-settings-api-cheatin-uh-error?replies=0

    And tried to add the following to the theme_options.php:
    function blaskan_option_page_capability( $capability ) {
    return 'edit_theme_options';
    }
    add_filter( 'option_page_capability_blaskan_options', 'blaskan_option_page_capability' );

    but it didn't work.

    Thoughts?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic