Permalink
Commits on Apr 19, 2018
  1. Merge branch '2.1'

    justintadlock committed Apr 19, 2018
  2. Version bump to 2.1.0.

    justintadlock committed Apr 19, 2018
  3. Update `readme.txt`.

    justintadlock committed Apr 19, 2018
  4. Do a soft bump of the PHP requirement to 5.6+. The code still support…

    justintadlock committed Apr 19, 2018
    …s 5.3+, but we're prepping for 3.0.0 when we'll have a hard 5.6+ requirement.
  5. Update copyright dates.

    justintadlock committed Apr 19, 2018
  6. Update `changelog.md`.

    justintadlock committed Apr 19, 2018
Commits on Apr 18, 2018
  1. Add a check for whether a page ID was returned when checking WooComme…

    justintadlock committed Apr 18, 2018
    …rce compatibility in the private site feature. Props @jorenmartijn
    
    
    Fixes #182
  2. Adds the `icon-members-core-create-caps.png` file to keep resources o…

    justintadlock committed Apr 18, 2018
    …ff the ThemeHybrid.com server.
  3. Adds the `user_name`, `user_id`, and `user_email` parameters to the `…

    justintadlock committed Apr 18, 2018
    …[members_access]` shortcode. These work the same as the `role` and `capability` parameters. Multiple values can passed to a given parameter by separating the values with a comma.
Commits on Feb 8, 2018
  1. `wp_roles_init` may be called multiple times. Let's make sure that th…

    justintadlock committed Feb 8, 2018
    …e only roles we register are within the `$wp_roles` object.
    
    
    Fixes: #181
Commits on Jan 7, 2018
Commits on Nov 6, 2017
  1. Merge branch '2.0'

    justintadlock committed Nov 6, 2017
  2. Version bump to 2.0.2.

    justintadlock committed Nov 6, 2017
  3. Readme updates.

    justintadlock committed Nov 6, 2017
  4. Update the change log.

    justintadlock committed Nov 6, 2017
  5. With any luck, this finally fixes the role label translation issue. A…

    justintadlock committed Nov 6, 2017
    …dded a `get()` method to the `Role` class for getting its properties. Primarily, we're using this to run the `$label` property through `members_translate_role()`.
    
    
    Fixes: #157
Commits on Nov 3, 2017
  1. Allow the `setup_network` cap on single site but not multisite becaus…

    justintadlock committed Nov 3, 2017
    …e it's required for actually setting up a multisite network.
  2. Network-specific caps shouldn't even appear for super admins in multi…

    justintadlock committed Nov 3, 2017
    …site. Eventually, we'll handle this in a network role/cap management plugin.
  3. This commit makes several changes dealing with editing roles on a mul…

    justintadlock committed Nov 3, 2017
    …tisite setup. Primarily, the issue is that no user (even administrators) should have permission to edit roles in a multisite setup unless that user is a Super Admin.
    
    The first step is that administrators are no longer granted the `create_roles`, `edit_roles`, and `delete_roles` capabilities when the plugin is activated.  Super admins can later grant these caps on a case-by-case basis if necessary.
    
    Several network-specific capabilities are now hidden and cannot be added to any role, regardless of the user's permissions.
    
    All hidden caps (including the newly-hidden network caps) are now blocked on both the PHP and JavaScript side of the edit/new role screen.
    
    This change also removes the link to the edit role screen when a user doesn't have permission to actually edit the role (previously, it simply wouldn't load the screen).
    
    Hat tip to @johnbillion.
Commits on Sep 28, 2017
  1. Merge branch '2.0'

    justintadlock committed Sep 28, 2017
  2. Version bump to 2.0.1.

    justintadlock committed Sep 28, 2017
  3. Update `readme.txt`.

    justintadlock committed Sep 28, 2017
  4. Update change log.

    justintadlock committed Sep 28, 2017
  5. Bump the callback priority on `user_register` up a little to make sur…

    justintadlock committed Sep 28, 2017
    …e it runs earlier than the default.
  6. Don't show the multi-role selection form field when adding a new user…

    justintadlock committed Sep 28, 2017
    … on multisite. There were numerous issues associated with this that could not be addressed at this stage.
    
    The commit Fixes the issue where no role was being set when adding a new user in multisite.
    
    Fixes: #153
Commits on Sep 27, 2017
  1. Filter the user signup activation email. And remove the core WP filte…

    justintadlock committed Sep 27, 2017
    …r on this. We need to get rid of the core email because of its hardcoded `$_REQUEST['role']` usage.
    
    This commit address the latest issue in #153
  2. In a multisite scenario with the multiple roles per user featured ena…

    justintadlock committed Sep 27, 2017
    …bled, account for the scenario where no roles are given to the new user. We're going to give the new user the default role.
    
    Note that this is different from a single-site setup, which doesn't require that a new user have a role.
    
    This commit also cleans up the code in previous commits addressed at this issue.
    
    Fixes (I hope): #153
  3. Make sure role labels are translated where the plugin outputs them. F…

    justintadlock committed Sep 27, 2017
    …ixes: #157
    
    Note that fixing this ticket brought up another issue, which is that core WP outputs the role in some places.  This is out of scope for this commit, so a second ticket was created: #158