User Role Editor Pro version 4.55.1 was published at March 28th, 2020. This version includes bug fixes and some technical update/enhancements.
Changes list
Core version: 4.53.1
- New: Content view access add-on:
– ‘ure_content_view_access_data_for_role’ custom filter was added. It takes 2 parameters: 1st – array with content view access data defined for a role, $role_id – role ID, for which content view access data is filtered.
– ‘ure_content_view_access_data_for_user’ custom filter was added. It takes 2 parameters: 1st – array with content view access data defined for a user, $user_id – user ID, for which content view access data is filtered. - New: Front-end menu access add-on: ‘ure_show_front_end_menu_item’ custom filter was added. It takes 3 parameters: 1st – logical, if TRUE – show menu item, 2nd – nav_menu_item data structure with checked menu item, 3rd – URE restriction data for menu item. Return false to hide menu item from current user.
- Fix: Excluded using $this in a static method URE_Admin_Menu_Hashes::require_data_conversion(), line #179.
- Fix: Excluded using $this in a static method URE_Network_Addons_Data_Replicator::get_for_new_blog(), lines #172, #200.
- Core version was updated to 4.53.1:
- Fix: Undefined variable: message at wp-content/plugins/user-role-editor/includes/classes/editor.php:898
- Update: Few English grammar enhancements.