Support » Plugin: User Role Editor » [Plugin: User Role Editor] Edit Widgets Capability

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vladimir Garagulia

    (@shinephp)

    Role should have the ‘edit_theme_options’ capability to allow its owner work with widgets.
    At the begin of widgets.php we can see

    if ( ! current_user_can('edit_theme_options') )
    	wp_die( __( 'Cheatin’ uh?' ));

    But be aware that having such capability user can execute the arbitrary code on your site and get administrator rights easily. You should trust such user.

    Thanks, that’s good to know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: User Role Editor] Edit Widgets Capability’ is closed to new replies.