Changeset 6581 for trunk/bp-core/admin/bp-core-functions.php
- Timestamp:
- 12/10/2012 08:25:00 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r6579 r6581 225 225 ); 226 226 227 // If forums component is active, add additional tab228 if ( bp_is_active( 'forums' ) ) {229 $tabs['3'] = array(230 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bb-forums-setup' ), 'admin.php' ) ),231 'name' => __( 'Forums', 'buddypress' )232 );233 }234 235 227 // Loop through tabs and build navigation 236 foreach( $tabs as $tab_id =>$tab_data ) {228 foreach( array_values( $tabs ) as $tab_data ) { 237 229 $is_current = (bool) ( $tab_data['name'] == $active_tab ); 238 230 $tab_class = $is_current ? $active_class : $idle_class;
Note: See TracChangeset
for help on using the changeset viewer.