Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2012 08:25:00 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Legacy Group Forums:

  • Retire bbPress 1.1 group forums component.
  • Creates new "Retired" components group, where old components go to die.
  • Deprecate "Forums" settings tab; use Legacy Forums Setting instead.
  • Remove associated code for old forums admin UI.
  • See #4493.
  • Fixes #3598.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-functions.php

    r6579 r6581  
    225225    );
    226226
    227     // If forums component is active, add additional tab
    228     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 
    235227    // Loop through tabs and build navigation
    236     foreach( $tabs as $tab_id => $tab_data ) {
     228    foreach( array_values( $tabs ) as $tab_data ) {
    237229        $is_current = (bool) ( $tab_data['name'] == $active_tab );
    238230        $tab_class  = $is_current ? $active_class : $idle_class;
Note: See TracChangeset for help on using the changeset viewer.