Changeset 5329 for trunk/bp-core/bp-core-buddybar.php
- Timestamp:
- 11/14/2011 05:19:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-buddybar.php
r5313 r5329 31 31 32 32 // If this is for site admins only and the user is not one, don't create the subnav item 33 if ( $site_admin_only && ! is_super_admin() )33 if ( $site_admin_only && !bp_current_user_can( 'bp_moderate' ) ) 34 34 return false; 35 35 … … 210 210 211 211 // If this is for site admins only and the user is not one, don't create the subnav item 212 if ( $site_admin_only && ! is_super_admin() )212 if ( $site_admin_only && !bp_current_user_can( 'bp_moderate' ) ) 213 213 return false; 214 214
Note: See TracChangeset
for help on using the changeset viewer.