User Role Editor Pro version 4.41

User Role Editor Pro version 4.41 was published at February, 6th, 2018. Major change is a way how ‘Export/Import’ buttons work at ‘Users->User Role Editor page’. Other new feature – if visitor does not have permission to view a page it’s possible to redirect him to other URL.

Changes List

Core version: 4.40.1

  • New: Export-import module was rewritten:
    – Attention: New exported data format is not compatible with data exported by older versions.
    – Users->User Role Editor: Export/Import buttons applied to the single currently selected role only.
    – It’s possible to export/import add-ons data, like ‘Admin Menu’, ‘Posts Edit’, ‘Post View’, ‘Meta Boxes’.
    – Settings->Tools-> Export/Import buttons will work for all roles of current site (main site from the network admin) in the next version.
  • New: Content View Restrictions add-on: redirect to URL option was added for access error action.
  • Update: URE_Admin_Menu::load_menu_access_data_for_role() method was renamed to URE_Admin_Menu::load_data_for_role().
  • Update: URE_Admin_Menu::load_menu_access_data_for_user() method was renamed to URE_Admin_Menu::load_data_for_user().
  • Update: Page permissions viewer add-on: source code tracing was returned back (if available).
  • Update: Other roles access add-on: changes were applied for compatibility with PHP versions prior 5.5
  • Fix: Content View Restrictions add-on:
    – HTML layout issue was fixed at the “Action” section of post editor meta box.
    – Restrictions were not applied properly for WooCommerce products list via [products] shortcode as WooCommerce may cache query result of unrestricted user for 30 days and show that cached data to users with restricted view access.
  • Fix: Admin menu access add-on (URE_Admin_Menu_Access::update_menu()): bug in menu update may lead to the indefinite redirection loop as a blocked URL was selected as the 1st available menu item link.
  • Core version was updated to 4.40.1:
  • Update: use wp_roles() function from WordPress API instead of initializing $wp_roles global directly. wp_roles() function (introduced with WP 4.3) was included conditionally to URE code for backward compatibility with WordPress 4.0+
  • Fix: Bug was introduced by version 4.37 with users recalculation for “All” tab after excluding users with “administrator” role. Code worked incorrectly for Japanese locale.
  • Fix: WordPress multisite: bbPress plugin detection code was changed from checking bbPress API function existence to checking WordPress active plugins list. bbPress plugin activated for the site was not available yet for the network activated User Role Editor at the point of URE instance creation. URE did not work with bbPress roles as it should by design.
Share