Changeset 4173 for branches/plugin/bbp-includes/bbp-core-caps.php
- Timestamp:
- 08/24/2012 08:29:20 AM (13 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-includes/bbp-core-caps.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-caps.php
r4168 r4173 379 379 // What capability is being checked? 380 380 switch ( $cap ) { 381 382 /** General ***********************************************************/ 383 384 case 'bozo' : 385 386 // Inactive users are not bozos 387 if ( bbp_is_user_inactive( $user_id ) ) { 388 $caps = array( 'do_not_allow' ); 389 390 // Moderators are not bozos 391 } elseif ( user_can( $user_id, 'moderate' ) ) { 392 $caps = array( 'do_not_allow' ); 393 } 394 395 break; 381 396 382 397 /** Reading ***********************************************************/
Note: See TracChangeset
for help on using the changeset viewer.