User Role Editor Pro version 4.42

User Role Editor Pro version 4.42 was published at April, 4th, 2018. Two new features were added to the Content View Restrictions add-on. Detailed description follows below as usual.

Changes List

Core version: 4.40.2

  • New: Content View Restrictions add-on:
    – New criteria “Page Templates” were added to content view restrictions for roles.
    – It’s possible to extend ‘Any User Role (logged in only)’ condition using custom filter ‘ure_is_user_logged_in’, in order to check the additional conditions, for example: date, user name, subdomain, etc.
  • Update: Admin menu access add-on: full admin menu copy creation code priority at ‘admin_menu’ hook was increased from 1000 to 9999. It should be executed after other plugins. MetaSlider plugin adds its admin menu with 9553 priority.
  • Fix: Content View Restrictions add-on:
    – “Redirect to URL” option did not work for pages.
    – pages linked to BuddyPress components (activity, groups, members) ignored restrictions set by URE.
  • Fix: Meta Boxes Access add-on: meta boxes blocking code hooked to the general ‘add_meta_boxes’ action fired too early and can not block meta boxes added via ‘add_meta_boxes_{post_type}’ hook executed later.
  • Core version was updated to 4.40.2:
  • Update: Load required .php files from the active bbPress plugin directly, as in some cases URE code may be executed earlier than they are loaded by bbPress.