Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    It seems that WordPress uses the same ‘edit_theme_options’ capability to check access to menu editor and widget changing both. At the begin of widgets.php we see:

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

    At menu.php:
    $submenu['themes.php'][10] = array(__('Menus'), 'edit_theme_options', 'nav-menus.php' );

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: User Role Editor] Allow Menu Editing but not Widgets’ is closed to new replies.