Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2023 04:01:49 AM (15 months ago)
Author:
imath
Message:

Raise WordPress required version to 5.8

Closes https://github.com/buddypress/buddypress/pull/61
Fixes #8822

File:
1 edited

Legend:

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

    r13228 r13417  
    2020function bp_core_retain_legacy_widgets() {
    2121    $theme_supports = current_theme_supports( 'widgets-block-editor' );
    22     $wp_supports    = bp_is_running_wp( '5.8.0' );
    2322
    2423    /** This filter is documented in wp-includes/widgets.php */
    25     $block_widgets_enabled = $theme_supports && apply_filters( 'use_widgets_block_editor', $wp_supports );
     24    $block_widgets_enabled = $theme_supports && apply_filters( 'use_widgets_block_editor', true );
    2625
    2726    $retain_legacy_widgets = true;
Note: See TracChangeset for help on using the changeset viewer.