Skip to:
Content

Ignore:
Timestamp:
12/08/17 00:22:09 (6 weeks ago)
Author:
djpaul
Message:

Retire Legacy Forums.

"Legacy Forums" is what we now call the bundled version of bbPress 1 that has shipped with BuddyPress for over nine years. The Legacy Forums codebase/features are many years stagnant, and it has been almost completely hidden from the UI for the past five years.

Legacy Forums were replaced by bbPress 2, which is its own plugin, and we've been promoting its integration with BuddyPress for a long time. Most significantly, bbPress 1 only runs on WordPress versions older than 4.7, because of a BackPress conflict (which is nested inside bbPress 1) with WordPress 4.7's WP_Taxonomy class.

If your site is still using Legacy Forums, you will need to migrate to bbPress 2 to run BuddyPress 3.0. See https://bpdevel.wordpress.com/2017/12/07/legacy-forums-support-will-be/ for more information.

Fixes #5351
See #7502

File:
1 edited

Legend:

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

    r11513 r11763  
    287287            $orphaned_components[] = $component['name']; 
    288288        } 
    289     } 
    290  
    291     // Special case: If the Forums component is orphaned, but the bbPress 1.x installation is 
    292     // not correctly set up, don't show a nag. (In these cases, it's probably the case that the 
    293     // user is using bbPress 2.x; see https://buddypress.trac.wordpress.org/ticket/4292. 
    294     if ( isset( $bp->forums->name ) && in_array( $bp->forums->name, $orphaned_components ) && !bp_forums_is_installed_correctly() ) { 
    295         $forum_key = array_search( $bp->forums->name, $orphaned_components ); 
    296         unset( $orphaned_components[$forum_key] ); 
    297         $orphaned_components = array_values( $orphaned_components ); 
    298289    } 
    299290 
     
    440431        ), 
    441432    ); 
    442  
    443     // If forums component is active, add additional tab. 
    444     if ( bp_is_active( 'forums' ) && class_exists( 'BP_Forums_Component' ) ) { 
    445  
    446         // Enqueue thickbox. 
    447         wp_enqueue_script( 'thickbox' ); 
    448         wp_enqueue_style( 'thickbox' ); 
    449  
    450         $tabs['3'] = array( 
    451             'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bb-forums-setup'  ), 'admin.php' ) ), 
    452             'name' => __( 'Forums', 'buddypress' ) 
    453         ); 
    454     } 
    455433 
    456434    /** 
Note: See TracChangeset for help on using the changeset viewer.