Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/17/2023 11:14:06 AM (22 months ago)
Author:
imath
Message:

Deprecate BP Legacy widgets

Deprecate all classes, functions, JavaScripts and files related to Legacy Widgets. Legacy Widgets are now available from the BP Classic plugin.

See #8869
Closes https://github.com/buddypress/buddypress/pull/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/activity/loader.php

    r13461 r13481  
    6363        require $this->dir . 'template-tags.php';
    6464
    65         if ( bp_core_retain_legacy_widgets() ) {
    66             require $this->dir . 'widgets.php';
    67         }
    68 
    6965        // Test suite requires the AJAX functions early.
    7066        if ( function_exists( 'tests_add_filter' ) ) {
     
    9490        add_action( 'bp_nouveau_enqueue_scripts', 'bp_nouveau_activity_enqueue_scripts' );
    9591        add_action( 'bp_nouveau_notifications_init_filters', 'bp_nouveau_activity_notification_filters' );
    96 
    97         if ( bp_core_retain_legacy_widgets() ) {
    98             add_action( 'bp_widgets_init', array( 'BP_Latest_Activities', 'register_widget' ) );
    99         }
    10092
    10193        $bp = buddypress();
Note: See TracChangeset for help on using the changeset viewer.