Changes List User Role Editor Pro

[4.59.1] [26.01.2021]

Core version: 4.58.2

  • Fix: Import single role: Uncaught TypeError: $ is not a function at HTMLDivElement.Import (import-single-role.js?ver=4.59:46) was fixed.

[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]

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.

Older Changes