Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/27/2021 10:47:39 AM (4 years ago)
Author:
imath
Message:

Set the show_instance_in_rest to true for all BP Widgets options

Using this widget option will allow users to transform our legacy widgets to widget blocks.

Fixes #8496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/classes/class-bp-core-whos-online-widget.php

    r12324 r12976  
    1515 *
    1616 * @since 1.0.3
     17 * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options.
    1718 */
    1819class BP_Core_Whos_Online_Widget extends WP_Widget {
     
    2223     *
    2324     * @since 1.5.0
     25     * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options.
    2426     */
    2527    public function __construct() {
     
    3032            'classname'                   => 'widget_bp_core_whos_online_widget buddypress widget',
    3133            'customize_selective_refresh' => true,
     34            'show_instance_in_rest'       => true,
    3235        ) );
    3336    }
Note: See TracChangeset for help on using the changeset viewer.