User Role Editor Pro – Version – 4.66.4

= [4.66.4] 27.10.2026 =
* Core version: 4.66.3
* Update: Marked as compatible with WordPress version 7.2
* Update: Required PHP version increased up to 8.2
* Fix: Content view restrictions add-on: restricted posts were not excluded from the front-end posts lists (home page, search results, archives) and from other posts queries, which do not set a single post type: post type is not set at all, set as an array of post types or as ‘any’. The check “restrictions are applied to the public custom post types only” added in version 4.63 skipped such queries. Now such queries are skipped only if all requested post types are registered non-public ones. A single post/page view is processed as before: the selected access error action is applied. Discovered and responsibly reported by Michael LaRue.
* Fix: Content view restrictions add-on: the access error action set for a role/user was not loaded under PHP 8, when a post was blocked at the roles level: a string constant was compared with 0 instead of the current access error action value. URE_Content_View_Restrictions::get_access_error_action() returned 0, and the redirect access error action set via the ‘ure_content_view_access_data_for_user’ or ‘ure_content_view_access_data_for_role’ filter was not applied. Reported by Michael LaRue.
* New: “Current user Media only” option. Turn it on at Settings > Additional Modules, then tick “Current user Media only” in the “Additional Options” section of the role editor for any role: users with that role see only the media items they uploaded themselves in the Media Library (wp-admin only; administrators are not restricted). Use the ‘ure_attachments_show_full_list’ filter (return true) to show the full list in a custom context.
* New: Brazilian Portuguese (pt_BR) translation was added. Thanks to Jayron Castro.
* Fix: Admin menu access add-on: Remove only menu items, which submenu was emptied as blocked by URE itself. Some plugins/themes (e.g. Hello Elementor) intentionally remove all their submenu items at ‘admin_head’ to show a top level menu item only, and URE Pro removed such top level menu item.