Changeset 11763 for trunk/src/bp-core/admin/bp-core-admin-components.php
- Timestamp:
- 12/08/2017 12:22:09 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-components.php
r10934 r11763 81 81 $required_components = bp_core_admin_get_components( 'required' ); 82 82 $retired_components = bp_core_admin_get_components( 'retired' ); 83 84 // Don't show Forums component in optional components if it's disabled.85 if ( ! bp_is_active( 'forums' ) ) {86 unset( $optional_components['forums'] );87 }88 83 89 84 // Merge optional and required together.
Note: See TracChangeset
for help on using the changeset viewer.