Changeset 6708 for trunk/src/includes/users/capabilities.php
- Timestamp:
- 09/15/2017 05:30:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/capabilities.php
r6707 r6708 374 374 // Add the user to the site 375 375 if ( true === $add_to_site ) { 376 $bbp->current_user->add_role($new_role );376 bbp_set_user_role( $user_id, $new_role ); 377 377 378 378 // Don't add the user, but still give them the correct caps dynamically
Note: See TracChangeset
for help on using the changeset viewer.