* 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: Changes were not saved to bbPress roles.
* 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.
New: custom filter ‘ure_hide_fe_menu_if_content_view_prohibited’ allows to not hide front-end menu item, if linked page is prohibited for view to current user.
Update: Other roles access add-on: It’s possible to use this add-on against ‘administrator’ role under WordPress multisite. Return FALSE from ‘ure_not_block_other_roles_for_local_admin’ filter for this purpose.
Fix: Other roles access add-on:
– Users with blocked role(s) were shown for “Block not selected” model.
– Users quantity at the top roles links/filters were counted wrong way.
Core version was updated to 4.53:
Update: “Add role”, “Delete role”, “Rename role”, “Add capability”, “Delete capability” do not reload full page on completion, but use AJAX for data exchange with server and refresh parts of the page via JavaScript.
Update: Multisite: “Allow non super administrators to create, edit, and delete users” option: priority for ‘map_meta_cap’ filter priority was raised from 1 to 99, in order make possible to overwrite changes made by other plugins, like WooCommerce.
Fix: Some English grammar mistakes.
New: Other roles access add-on: Use custom ‘ure_other_roles_access’ filter to change restrictions for user dynamically. Filter takes 2 input parameters: 1) $blocked (array) – restrictions for current user; 2) $user (WP_User) – current user.
Fix: Other roles access add-on:
– It was not possible to edit user from the users list, when “Not selected” model is turned ON.
– There was a bug in processing roles with similar role IDs, like ‘customer’, ‘wholesaler_customer’. When you blocked ‘customer’ role, script automatically blocked similar role ‘wholesaler_customer’.
Core version was updated to 4.52.2
Fix: Custom capabilities for custom post types was not created by URE automatically since version 4.52.1.
Fix: ‘administrator’ role protection did not show to power users roles with ‘administrator’ word inside, like ‘shop_administrator’, etc.