Changeset 5591
- Timestamp:
- 01/10/2015 10:58:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/capabilities.php
r5442 r5591 199 199 } 200 200 201 // F romus role we want the user to have202 $new_role = sanitize_ text_field( $_POST['bbp-forums-role'] );201 // Forums role we want the user to have 202 $new_role = sanitize_key( $_POST['bbp-forums-role'] ); 203 203 $forums_role = bbp_get_user_role( $user_id ); 204 204
Note: See TracChangeset
for help on using the changeset viewer.