Changeset 7312
- Timestamp:
- 07/26/2013 01:26:28 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-admin.php
r7240 r7312 27 27 */ 28 28 function bp_activity_add_admin_menu() { 29 30 if ( ! bp_current_user_can( 'bp_moderate' ) )31 return;32 29 33 30 // Add our screen … … 35 32 __( 'Activity', 'buddypress' ), 36 33 __( 'Activity', 'buddypress' ), 37 ' manage_options',34 'bp_moderate', 38 35 'bp-activity', 39 36 'bp_activity_admin', -
trunk/bp-groups/bp-groups-admin.php
r7242 r7312 27 27 */ 28 28 function bp_groups_add_admin_menu() { 29 30 if ( ! bp_current_user_can( 'bp_moderate' ) )31 return;32 29 33 30 // Add our screen … … 35 32 __( 'Groups', 'buddypress' ), 36 33 __( 'Groups', 'buddypress' ), 37 ' manage_options',34 'bp_moderate', 38 35 'bp-groups', 39 36 'bp_groups_admin',
Note: See TracChangeset
for help on using the changeset viewer.