Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8516 closed task (fixed)

Introduce a new BP_Component property for block globals

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 9.0.0 Priority: normal
Severity: normal Version:
Component: Core Keywords: has-patch
Cc:

Description

This new property will help us to manage Widget block occurrences globals and use a single filter on widget_block_dynamic_classname to make sure Widget Blocks will include Legacy Widget classnames and inherit their styles.

Attachments (1)

8516.patch (6.7 KB) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (2)

@imath
3 years ago

#1 @imath
3 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 12998:

Introduce a new BP_Component property for block globals

This new property will help us to manage Widget Block occurrences globals and use a single filter on 'widget_block_dynamic_classname' to make sure Widget Blocks will include Legacy Widget classnames and inherit their styles.

This commit also makes sure WordPress is >= 5.0 before using the has_block function.

See #8515
Fixes #8516

Note: See TracTickets for help on using tickets.