- Bug where custom capabilities would not appear after updating role.
- Make BuddyPress activation page public in private site mode.
- Allows a hyphen in role names. Alphanumeric characters, underscores, and hyphens now allowed.
- Don't escaped allowed HTML in the login widget textarea.
- When filter
user_has_cap
, check that the role is not null. - Remove broken property check when unregistering a cap group.
- Typo corrections in the Content Permissions meta box.
- Changed an incorrect textdomain instance.
Text Domain
plugin header added.Domain Path
plugin header added.members_role_updated
action hook for when a role is edited/updated.members_role_added
action hook for when a new role is created.members_manage_roles_column_{$column_name}
filter hook for handling the output of custom manage roles screen columns.members_cp_meta_box_before
action hook for hooking in before the Content Permissions meta box.members_cp_meta_box_after
action hook for hooking in after the Content Permissions meta box.- Added the
Members_Role_Factory::remove_role()
method to remove a stored role.
- Edit/New role forms just check the nonce instead of checking for form fields + nonce to see if the form was submitted (fields can be legitimately empty).
- Correct "undefined index" notices with widgets.
- Make sure custom caps (post types, taxonomies, etc.) that aren't stored get saved when editing a role.
- Make sure the "All" capability group actually lists all caps from all groups.
- Use the
$user
variable instead of$author
variable inmembers_list_users()
. - "Custom" cap group should always be added last.
- Make sure roles edited with no caps get processed. Previously, we bailed if no caps were set.
- Remove deleted roles from the manage roles screen list without having to refresh the page.
- Use
wp_strip_all_tags()
overstrip_tags()
for sanitizing the role name. - Use
esc_url_raw()
to escape the redirect URL after creating a new role.
- Make sure
$attr
is set byshortcode_atts()
in the[members_access]
shortcode. - Use
members_current_user_has_role()
in the[members_access]
shortcode. - Use
! empty()
to validate the checkboxes when settings are saved.
- Only load
edit-role.js
on the role management screens.
- Ability to clone existing roles.
- Add multiple roles per user.
- Ability to explicitly deny capabilities to roles.
- Capability groups to find related caps when editing a role.
- Role groups to group related roles together.
- Content Permissions handles HTML, shortcodes, and auto-embeds.
- Disabled capabilities (via
wp-config.php
settings) no longer show cap lists. - Additional role and capability functions to extend WP's existing APIs.
- Role translation filters so that plugin authors can make role names translatable.
- Uneditable roles are now shown in the UI. They can be viewed but not edited.
Members_Role
object and API to extend WP's existing Roles API.- Plugin authors can now add meta boxes to the edit role screen.
- Underscore JS based capabilities editing box for roles.
- Complete UI overhaul for all user-facing components in the plugin.
- Overhaul of all text strings in the plugin.
- Shortcodes are now prefixed with
members_
. Old shortcodes will continue to work. - Overhauled the widgets code with new text strings and general code cleanup.
- Using the newer WP help tab functionality with custom tabs.
members_get_active_roles()
. Replaced bymembers_get_active_role_names()
.members_get_inactive_roles()
. Replaced bymembers_get_inactive_role_names()
.members_count_roles()
. Replaced bymembers_get_role_count()
.members_get_default_capabilities()
. Replaced bymembers_get_wp_capabilities()
.members_get_additional_capabilities()
. Replaced bymembers_get_plugin_capabilities()
.
- Upgrade routine.
- All old translation files since the text strings were overhauled.
- Plugin constants in favor of
Members_Plugin
properties. $members
global in favor ofMembers_Plugin
properties.
- Content Permissions meta box now accepts HTML on the edit post screen.
- User levels are now hidden from the role capability count.
- Uses the proper path for translation files in case plugin folder name changes.
- An "Are you sure?" (AYS) popup prevents users from inadvertently deleting roles.
- Added missing
export
anddelete_themes
caps to the core caps backup function. - Removed CSS code that was hiding the "collapse menu" button for the admin menu.
- Added the
members_sanitize_role()
function. - Added the
members_sanitize_cap()
function. - Security hardening by making sure all URLs are escaped.
- Security hardening by making sure all dynamic data is escaped.
- Security hardening by escaping translated text.
- Deprecated old widget constructor method in favor of using
__construct()
in preparation for WP 4.3. - Removed old
/components
folder and files that's not used.
- Fixed content permissions not saving for attachments. Note that this only protects content and not media files.
- No longer runs the upgrade script when
WP_INSTALLING
isTRUE
.
- Fixes the strict standards notice "Redefining already defined constructor for class Members_Load".
- No longer uses
&
for passing the role name by reference on plugin activation. - Fixes the
[feed]
shortcode, which was using the wrong callback function.
- No longer displays non-editable roles on the edit roles screen.
- Fixes the " Creating default object from empty value" error.
- Updated everything. Nearly all the code was rewritten from the ground up to make for a better user experience.
- Plugin users should check their plugin settings.
- Fixed a bug with the Content Permissions component that restricted access to everyone.
- Added missing internationalization function call:
load_plugin_textdomain()
. - Added new
/languages
folder for holding translations. - Added
members-en_EN.po
,members-en_EN.mo
, andmembers.pot
to the/languages
folder. - Updated some non-internationalized strings.
- Plugin launch. Everything's new!