[4.58.2] [14.12.2020]
- Core version 4.57.1
- New: Admin menu access add-on: ‘ure_admin_menu_get_hashes’ custom filter was added (pro/includes/classes/admin_menu.php, line #105). URE uses internally the full list of the links included into admin menu. Use this filter to modify it, in case you know what you do.
- New: German Formal (de_DE_formal) translation was added.
- Fix: PHP Warning: The magic method __wakeup() must have public visibility. __wakeup() method was defined as private as a part of the Singleton design partern. Method was redefined as public but with exception inside to prevent its usage.
- Update: jQuery [MultiSelect](http://multiple-select.wenzhixin.net.cn/) plugin was updated to version 1.5.2
- Core version was updated to 4.57.1
- Fix: Nextgen Gallery’s user capabilities were not shown as granted after current role change via roles selection dropdown list.
[4.58.1] [30.11.2020]
- Core version: 4.57
- Fix: Edit posts/pages access add-on: Error message was fixed: Uncaught Error: Object of class stdClass could not be converted to string in /wp-content/plugins/user-role-editor-pro/pro/includes/classes/posts-edit-access-user.php:653
[4.58] [23.11.2020]
- Core version 4.57
- Update: Marked as compatible with WordPress 5.6.
- Update: ” jQuery( document ).ready( handler ) ” was replaced globally with ” jQuery( handler ) ” for compatibility with [jQuery 3.0](https://api.jquery.com/ready/) and WordPress 5.6.
- Update: Post edit access add-on:
– Special support was added for the [FooGallery plugin](https://wordpress.org/plugins/foogallery/). Earlier new album, edit album pages showed full list of galleries in spite of the edit restrictions set by URE Pro. URE Pro uses ‘foogallery_album_exlcuded_galleries’ filter to fix this.
– SQL queries are restricted by post type (if known) instead of scan full posts database table.
- Core version was updated to 4.57:
- Fix: “Grant Roles” button produced JavaScript error, if single user without any role granted (None) was selected.
[4.57.1] [07.09.2020]
- Core version 4.56.1
- New: WordPress multisite: “Network admin->User Role Editor->Update Network”:
– ‘ure_after_network_roles_update’ action hook was added. It is executed after all roles were replicated from the main site to the all other subsites of the network.
– ‘ure_after_network_addons_update’ action hook was added. It is executed after selected add-ons settings were replicated from the main site to the all other subsites of the network.
- Core version was updated to 4.56.1:
- New: WordPress multisite: Main site: Users->User Role Editor->Apply to All: ‘ure_after_network_roles_update’ action hook was added. It is executed after all roles were replicated from the main site to the all other subsites of the network.
- Fix: “Granted Only” filter did not work at the “Users->User Role Editor” page.
- Fix: Warning was fixed: wp-content/plugins/user-role-editor/js/ure.js: jQuery.fn.attr(‘checked’) might use property instead of attribute.
[4.57] [11.08.2020]
– Special support was added for the [FooGallery plugin](https://wordpress.org/plugins/foogallery/). Earlier new album, edit album pages showed full list of galleries in spite of the edit restrictions set by URE Pro. URE Pro uses ‘foogallery_album_exlcuded_galleries’ filter to fix this.
– SQL queries are restricted by post type (if known) instead of scan full posts database table.
– ‘ure_after_network_roles_update’ action hook was added. It is executed after all roles were replicated from the main site to the all other subsites of the network.
– ‘ure_after_network_addons_update’ action hook was added. It is executed after selected add-ons settings were replicated from the main site to the all other subsites of the network.
Core version: 4.56
- Core version was updated to 4.56
- New: Frond-end menu access add-on: default option “Show to” was extended to the selection between “Show to” and “Hide from” (If UI does not work as expected, force browser page refresh in order to load the latest version of front-end-menu-access.js).
- Update: Admin menu access add-on: empty menu/submenu items are removed automatically.
- Fix: Other roles access add-on: ‘+’ was replaced with ‘.’ in string concatenation expression.
- Update: minor code updates/optimizations.
- Core version was updated to 4.56:
- New: User capabilities ‘install_languages’, ‘resume_plugins’, ‘resume_themes’, ‘view_site_health_checks’ were added to the list of supported WordPress built-in user capabilities.
- Update: Single site WordPress installation: URE automatically grants all existing user capabilities to WordPress built-in ‘administrator’ role before opening its page “Users->User Role Editor”.
- Fix: Extra slash was removed between URE_PLUGIN_URL and the image resource when outputting URE_PLUGIN_URL .’/images/ajax-loader.gif’ at ‘Users->User Role Editor’ page.
- Info: Marked as compatible with WordPress 5.5.
[4.56.2] [06.06.2020]
Core version: 4.55.1
- Core version was updated to 4.55.1
- Security fix: User with ‘edit_users’ capability could assign to another user a role not included into the editable roles list. This fix is required to install ASAP for all sites which have user(s) with ‘edit_users’ capability granted not via ‘administrator’ role.
- Update: URE_Uninstall class properties were made ‘protected’ to be accessible in URE_Uninstall_Pro class included into the Pro version.
[4.56.1] [05.06.2020]
Core version: 4.55
- Fix: unfiltered_html enabled for multisite did not work when user saved content from Gutenberg. unfiltered_html activation code was not applied for WP REST API (AJAX) calls.
- Update: Widgets admin access: It’s possible to use “Block not selected” access model to block widgets and sidebars which are not selected in the list.
- Update: User Role Editor Pro uninstallation was refactored. It fully removes the (‘ure_%’) user capabilities from the user roles data and users meta.
- Core version was updated to 4.55
- Update: User Role Editor uninstallation was refactored. It fully removes the (‘ure_%’) user capabilities from the user roles data.
[4.56] [02.05.2020]
Core version: 4.54
- Fix: Front-end menu access add-on:
– Do not switch menu walker to custom one starting from WordPress version 5.4 as it natively supports ‘wp_nav_menu_item_custom_fields’ action.
– Do not duplicate UI elements output in case ‘wp_nav_menu_item_custom_fields’ action is executed more than one time – (for example, by external code incompatible with WordPress 5.4). - Core version was updated to 4.54:
- New: Quick filter hides capabilities, which do not contain search string.
- Update: CSS enhancement: When site has many custom post types capabilities list section maximal height is limited by real height of the left side (capabilities groups) section, not by 720px as earlier.
- Fix: Empty list of capabilities (0/0) was shown for custom post types (CPT) which are defined with the same capability type as another CPT.
For example courses CPT from LearnDash plugin is defined with ‘course’ capability type (edit_courses, etc.) and other CPT from LearnDash were shown with 0/0 capabilities (lessons, topics, quizzes, certificates).
[4.55.2] [30.03.2020]
Core version: 4.53.1
- Fix: bbPress roles UI elements, like “Forum role”, “Change forum role to…” were empty due to fix made with version 44.55.1.
[4.55.1] [28.03.2020]
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.
[4.55] [03.02.2020]
Core version: 4.53
- 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.