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-core/classes/class-bp-core-login-widget.php

    r12118 r12976  
    2222     *
    2323     * @since 1.9.0
     24     * @since 9.0.0 Adds the `show_instance_in_rest` property to Widget options.
    2425     */
    2526    public function __construct() {
     
    3132                'classname'                   => 'widget_bp_core_login_widget buddypress widget',
    3233                'customize_selective_refresh' => true,
     34                'show_instance_in_rest'       => true,
    3335            )
    3436        );
Note: See TracChangeset for help on using the changeset viewer.