User Role Editor
[resolved] Edit Widgets Capability (3 posts)

  1. kiyamia
    Posted 5 years ago #

    Is it possible to allow an Editor role to adjust widgets?


  2. Vladimir Garagulya
    Plugin Author

    Posted 5 years ago #

    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.

  3. kiyamia
    Posted 5 years ago #

    Thanks, that's good to know.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Role Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic