Changeset 4068 for branches/plugin/bbp-admin/bbp-functions.php
- Timestamp:
- 07/08/2012 03:44:10 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-functions.php
r4046 r4068 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 exist27 if ( !current_user_can( 'manage_options' ) )28 24 return; 29 25
Note: See TracChangeset
for help on using the changeset viewer.