Changeset 4069
- Timestamp:
- 07/08/2012 04:22:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-functions.php
r4068 r4069 22 22 // Prevent duplicate separators when no new menu items exist 23 23 if ( !current_user_can( 'edit_forums' ) && !current_user_can( 'edit_topics' ) && !current_user_can( 'edit_replies' ) ) 24 return; 25 26 // Prevent duplicate separators when no core menu items exist 27 if ( !current_user_can( 'manage_options' ) ) 24 28 return; 25 29
Note: See TracChangeset
for help on using the changeset viewer.