Changeset 3415 for branches/plugin/bbp-admin/bbp-functions.php
- Timestamp:
- 08/11/2011 08:18:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-functions.php
r3349 r3415 21 21 global $menu; 22 22 23 // Prevent duplicate separators when no new menu items exist 23 24 if ( !current_user_can( 'edit_replies' ) ) 25 return; 26 27 // Prevent duplicate separators when no core menu items exist 28 if ( !current_user_can( 'edit_posts' ) ) 24 29 return; 25 30
Note: See TracChangeset
for help on using the changeset viewer.