[buddypress-trac] [BuddyPress Trac] #8516: Introduce a new BP_Component property for block globals

buddypress-trac noreply at wordpress.org
Wed Jul 14 08:52:07 UTC 2021


#8516: Introduce a new BP_Component property for block globals
-----------------------+---------------------
 Reporter:  imath      |       Owner:  imath
     Type:  task       |      Status:  closed
 Priority:  normal     |   Milestone:  9.0.0
Component:  Core       |     Version:
 Severity:  normal     |  Resolution:  fixed
 Keywords:  has-patch  |
-----------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12998" 12998]:
 {{{
 #!CommitTicketReference repository="" revision="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
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8516#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list