Restrict access to WordPress widgets area for role

Is it possible to restrict access to WordPress widgets area for selected role? “Widgets” menu item is located under “Appearance” menu at WordPress administrator back-end. WordPress uses the same “edit_theme_options” user capability to manage access to it as for the rest items of “Appearance” submenu (read more…). Thus if user has access to the “Widgets” menu, he has access to the rest menu items: “Themes”, “Customize”, “Menu”, “Header”, “Background”. What to do if you wish to allow some user change themes, customize their appearance, edit menu, but do not allow him access to the “Widgets” menu item? Read more Restrict access to WordPress widgets area for role

User Role Editor Pro version 4.10

User Role Editor Pro version 4.10 was published at February, 15th, 2014. The updates include:

  • Security enhancement: ‘__()’ and ‘_e()’ WordPress text translation functions were replaced with more secure ‘esc_html__()’ and ‘esc_html_e()’.
  • It is possible to restrict access to the post or page content view for selected roles. Activate the option at plugin “Settings” page and use new “Content View Restrictions” metabox at post/page editor to setup content view access restrictions. Read more…
  • Gravity Forms access management module was updated for compatibility with Gravity Forms version 1.8.3. If you need compatibility with earlier Gravity Forms versions, e.g. 1.7.9, use User Role Editor version 4.9.

User Role Editor Pro version 4.9

User Role Editor Pro version 4.9 is available for download.
The list of updates includes:

  • New tab “Default Roles” was added to the User Role Editor settings page. It is possible to select multiple default roles to assign them automatically to the new registered user.
  • CSS and dialog windows layout various enhancements.
  • ‘members_get_capabilities’ filter was applied to provide better compatibility with themes and plugins which may use it to add its own user capabilities.
  • Option was added to download jQuery UI CSS from the jQuery CDN.
  • Bug was fixed: Plugins activation assess restriction section was not shown for selected user under multi-site environment.

Read more User Role Editor Pro version 4.9

User Role Editor Pro version 4.8

User Role Editor Pro version 4.8 is available for download.
The list of updates includes:

  • Role ID validation rule was added to prohibit numeric role ID – WordPress does not support them.
  • HTML markup was updated to provide compatibility with upcoming WordPress 3.8 new administrator backend theme MP6.
  • It is possible to manage access of single sites administrators to the selected user capabilities and Add/Delete role operations inside User Role Editor.
  • Shortcode [user_role_editor roles=”none”]text for not logged in users[/user_role_editor] is available.
  • Other shortcode enclosed inside “user_role_editor” shortcode are processed recursively.
  • Gravity Forms available at “Export Entries”, “Export Forms” pages is under URE access restriction now, if such one was set for the user.
  • Gravity Forms import could be set under “gravityforms_import” user capability control.
  • Option was added to show/hide help links (question signs) near the capabilities from single site administrators.
  • Plugin “Options” page was divided into sections (tabs): General, Multisite, About.
  • Author’s information box was removed from URE plugin page.
  • Restore previous blog ‘switch_to_blog($old_blog_id)’ call was replaced to ‘restore_current_blog()’ where it is possible to provide better compatibility with WordPress API.
  • After use ‘switch_to_blog()’ in cycle, URE clears ‘_wp_switched_stack’ global variable directly instead of call ‘restore_current_blog()’ inside the cycle to work faster.