Ticket #4730: blogs-active.patch
| File blogs-active.patch, 990 bytes (added by , 13 years ago) |
|---|
-
bp-core/admin/bp-core-components.php
108 108 'forums' => array( 109 109 'title' => __( 'Group Forums (Legacy)', 'buddypress' ), 110 110 'description' => __( 'Group forums allow for focused, bulletin-board style conversations.', 'buddypress' ) 111 ), 112 'blogs' => array( 111 ) 112 113 ); 114 //if it is a multisite install, only then include the blogs component 115 if(is_multisite()) 116 $optional_components['blogs'] = array( 113 117 'title' => __( 'Site Tracking', 'buddypress' ), 114 118 'description' => __( 'Record activity for new posts and comments from your site.', 'buddypress' ) 115 ) 116 ); 117 119 ); 120 118 121 // Don't show Forums component in optional components if it's disabled 119 122 if ( ! bp_is_active( 'forums' ) ) { 120 123 unset( $optional_components['forums'] );