Changeset 5510
- Timestamp:
- 12/11/2011 06:28:30 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r5464 r5510 275 275 */ 276 276 function bp_core_admin_menu_init() { 277 278 // Bail if not in admin 279 if ( !is_admin() ) 280 return false; 281 282 // Bail if user cannot moderate 277 283 if ( !bp_current_user_can( 'bp_moderate' ) ) 278 284 return false;
Note: See TracChangeset
for help on using the changeset viewer.