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/buddypress-functions.php

    r13468 r13481  
    202202        add_action( 'widgets_init', 'bp_nouveau_register_sidebars', 11 );
    203203
    204         // Register the Primary Object nav widget.
    205         if ( bp_core_retain_legacy_widgets() ) {
    206             add_action( 'bp_widgets_init', array( 'BP_Nouveau_Object_Nav_Widget', 'register_widget' ) );
    207         }
    208 
    209204        // Modify "registration disabled" and welcome message if invitations are enabled.
    210205        add_action( 'bp_nouveau_feedback_messages', array( $this, 'filter_registration_messages' ), 99 );
Note: See TracChangeset for help on using the changeset viewer.