Changeset 4282
- Timestamp:
- 10/30/2012 11:51:12 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/admin/admin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/admin/admin.php
r4281 r4282 358 358 case 'bbp_settings_buddypress' : 359 359 if ( ( is_plugin_active( 'buddypress/bp-loader.php' ) && defined( 'BP_VERSION' ) ) && is_super_admin() ) { 360 $caps = array( 'manage_options', $cap);360 $caps = array( bbpress()->admin->minimum_capability ); 361 361 } else { 362 362 $caps = array( 'do_not_allow' ); … … 368 368 case 'bbp_settings_akismet' : 369 369 if ( ( is_plugin_active( 'akismet/akismet.php' ) && defined( 'AKISMET_VERSION' ) ) && is_super_admin() ) { 370 $caps = array( 'manage_options', $cap);370 $caps = array( bbpress()->admin->minimum_capability ); 371 371 } else { 372 372 $caps = array( 'do_not_allow' ); … … 387 387 case 'bbp_settings_per_page' : // Settings - Single slugs 388 388 case 'bbp_settings_per_page_rss' : // Settings - Single slugs 389 $caps = array( 'manage_options',bbpress()->admin->minimum_capability );389 $caps = array( bbpress()->admin->minimum_capability ); 390 390 break; 391 391 }
Note: See TracChangeset
for help on using the changeset viewer.