Ticket #2005: super-admin-patch.patch
| File super-admin-patch.patch, 480 bytes (added by , 13 years ago) |
|---|
-
bbp-includes/bbp-core-caps.php
541 541 return; 542 542 543 543 // Give the user the 'Forum Participant' role 544 if ( current_user_can( 'bbp_masked' ) ) {544 if ( !is_super_admin() && current_user_can( 'bbp_masked' ) ) { 545 545 546 546 // Get the default role 547 547 $default_role = bbp_get_participant_role();