Ticket #4296: bp-core-caps.diff
File bp-core-caps.diff, 474 bytes (added by , 12 years ago) |
---|
-
bp-core/bp-core-caps.php
380 380 function bp_current_user_can( $capability, $blog_id = 0 ) { 381 381 382 382 // @todo: remove this when implemented 383 if ( is_super_admin() )383 if ( is_super_admin() && $capability != 'bp_xprofile_change_field_visibility' ) 384 384 return true; 385 385 386 386 // Use root blog if no ID passed