Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/08/2017 12:22:09 AM (7 years 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/bp-core-options.php

    r11695 r11763  
    2929
    3030        'bp-deactivated-components'            => array(),
    31 
    32         /* bbPress ***********************************************************/
    33 
    34         // Legacy bbPress config location.
    35         'bb-config-location'                   => ABSPATH . 'bb-config.php',
    3631
    3732        /* XProfile **********************************************************/
     
    695690
    696691/**
    697  * Output the group forums root parent forum id.
    698  *
    699  * @since 1.6.0
    700  *
    701  * @param bool|string $default Optional. Default: '0'.
    702  */
    703 function bp_group_forums_root_id( $default = '0' ) {
    704     echo bp_get_group_forums_root_id( $default );
    705 }
    706     /**
    707      * Return the group forums root parent forum id.
    708      *
    709      * @since 1.6.0
    710      *
    711      * @param bool|string $default Optional. Default: '0'.
    712      * @return int The ID of the group forums root forum.
    713      */
    714     function bp_get_group_forums_root_id( $default = '0' ) {
    715 
    716         /**
    717          * Filters the group forums root parent forum id.
    718          *
    719          * @since 1.6.0
    720          *
    721          * @param int $value The group forums root parent forum id.
    722          */
    723         return (int) apply_filters( 'bp_get_group_forums_root_id', (int) bp_get_option( '_bp_group_forums_root_id', $default ) );
    724     }
    725 
    726 /**
    727  * Check whether BuddyPress Group Forums are enabled.
    728  *
    729  * @since 1.6.0
    730  *
    731  * @param bool $default Optional. Fallback value if not found in the database.
    732  *                      Default: true.
    733  * @return bool True if group forums are active, otherwise false.
    734  */
    735 function bp_is_group_forums_active( $default = true ) {
    736 
    737     /**
    738      * Filters whether or not BuddyPress Group Forums are enabled.
    739      *
    740      * @since 1.6.0
    741      *
    742      * @param bool $value Whether or not BuddyPress Group Forums are enabled.
    743      */
    744     return (bool) apply_filters( 'bp_is_group_forums_active', (bool) bp_get_option( '_bp_enable_group_forums', $default ) );
    745 }
    746 
    747 /**
    748692 * Check whether Akismet is enabled.
    749693 *
Note: See TracChangeset for help on using the changeset viewer.