Changeset 4352 for trunk/includes/users/capabilities.php
- Timestamp:
- 11/07/2012 08:38:03 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/users/capabilities.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/users/capabilities.php
r4349 r4352 112 112 // User has roles so lets 113 113 if ( ! empty( $user->roles ) ) { 114 $roles = array_intersect( array_values( $user->roles ), array_keys( bbp_get_ editable_roles() ) );114 $roles = array_intersect( array_values( $user->roles ), array_keys( bbp_get_dynamic_roles() ) ); 115 115 116 116 // If there's a role in the array, use the first one
Note: See TracChangeset
for help on using the changeset viewer.