[buddypress-trac] [BuddyPress Trac] #8594: Legacy Widgets: next step before deprecation

buddypress-trac noreply at wordpress.org
Fri Oct 29 08:28:12 UTC 2021


#8594: Legacy Widgets: next step before deprecation
-------------------------+-----------------------------------
 Reporter:  imath        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  10.0.0
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:  has-patch 2nd-opinion
-------------------------+-----------------------------------
 In 9.0.0 we've added 1 Block Widget for each Legacy Widget. Block Widgets
 are including a specific function to transform the corresponding Legacy
 Widget to the Block one.

 [[Image(https://cldup.com/WR8vjmeNi0.png)]]

 The downside of this is shown into the above screenshot, when looking for
 "buddypress" Blocks into the widgets screen introduced in WordPress 5.8,
 only Legacy Widgets are listed.

 Users are able to migrate Legacy Widgets to Block ones in BP 9.0.0. In
 10.0.0, I suggest to take a new step before deprecating Legacy Widgets
 (when our required WP version will be >= 5.8). When the theme supports
 Block Widgets and WordPress is >= 5.8, Legacy Widgets will not be loaded
 unless a specific filter is used to retain them using this code:

 `add_filter( 'bp_core_retain_legacy_widgets', '__return_true' );`

 What's the opinion of the team about it?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8594>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list